aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT/StringMap.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-06-26 18:11:45 +0000
committerBill Wendling <isanbard@gmail.com>2008-06-26 18:11:45 +0000
commit8032020cf209721bc104648f28b1c4b45fb88691 (patch)
tree68521e390dc982629cd644b5ffd83ba0e294952a /include/llvm/ADT/StringMap.h
parent8e7de8fc58aa06b05e4c54152195d247f4728975 (diff)
downloadexternal_llvm-8032020cf209721bc104648f28b1c4b45fb88691.tar.gz
external_llvm-8032020cf209721bc104648f28b1c4b45fb88691.tar.bz2
external_llvm-8032020cf209721bc104648f28b1c4b45fb88691.zip
Remove warnings about shadowed and unused variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52791 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/StringMap.h')
-rw-r--r--include/llvm/ADT/StringMap.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/ADT/StringMap.h b/include/llvm/ADT/StringMap.h
index 3e7e9e625b..f180b36360 100644
--- a/include/llvm/ADT/StringMap.h
+++ b/include/llvm/ADT/StringMap.h
@@ -130,10 +130,10 @@ class StringMapEntry : public StringMapEntryBase {
public:
ValueTy second;
- explicit StringMapEntry(unsigned StrLen)
- : StringMapEntryBase(StrLen), second() {}
- StringMapEntry(unsigned StrLen, const ValueTy &V)
- : StringMapEntryBase(StrLen), second(V) {}
+ explicit StringMapEntry(unsigned strLen)
+ : StringMapEntryBase(strLen), second() {}
+ StringMapEntry(unsigned strLen, const ValueTy &V)
+ : StringMapEntryBase(strLen), second(V) {}
const ValueTy &getValue() const { return second; }
ValueTy &getValue() { return second; }