diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-10-20 12:53:26 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-10-20 12:53:26 +0000 |
commit | 63a4c24616fafa2b86d6391308ffd93e012115e4 (patch) | |
tree | eb3d3d5cd73f86cd3fea9915b49bbb7a8637863e /lib/MC | |
parent | 2a13242b208b80f2d20cdb3067ccb82edb7d1d0f (diff) | |
download | external_llvm-63a4c24616fafa2b86d6391308ffd93e012115e4.zip external_llvm-63a4c24616fafa2b86d6391308ffd93e012115e4.tar.gz external_llvm-63a4c24616fafa2b86d6391308ffd93e012115e4.tar.bz2 |
Symbol hygiene: Make sure declarations and definitions match, make helper functions static.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166376 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC')
-rw-r--r-- | lib/MC/SubtargetFeature.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MC/SubtargetFeature.cpp b/lib/MC/SubtargetFeature.cpp index 378c418..7625abd 100644 --- a/lib/MC/SubtargetFeature.cpp +++ b/lib/MC/SubtargetFeature.cpp @@ -119,8 +119,8 @@ void SubtargetFeatures::AddFeature(const StringRef String, } /// Find KV in array using binary search. -const SubtargetFeatureKV *Find(const StringRef S, const SubtargetFeatureKV *A, - size_t L) { +static const SubtargetFeatureKV *Find(StringRef S, const SubtargetFeatureKV *A, + size_t L) { // Make the lower bound element we're looking for SubtargetFeatureKV KV; KV.Key = S.data(); |