diff options
author | Nick Kledzik <kledzik@apple.com> | 2012-08-01 01:43:10 +0000 |
---|---|---|
committer | Nick Kledzik <kledzik@apple.com> | 2012-08-01 01:43:10 +0000 |
commit | 12648bed2873fdf2120b54c5539026ff468283fb (patch) | |
tree | ad5181a5d59b60986aefd9d3096eeaf338a88d82 /include | |
parent | fa566d02cce05cf8ca8d334a67e5534b379eaa3d (diff) | |
download | external_llvm-12648bed2873fdf2120b54c5539026ff468283fb.zip external_llvm-12648bed2873fdf2120b54c5539026ff468283fb.tar.gz external_llvm-12648bed2873fdf2120b54c5539026ff468283fb.tar.bz2 |
Fix shadowed variable warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161097 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/ADT/StringSwitch.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/ADT/StringSwitch.h b/include/llvm/ADT/StringSwitch.h index 7480583..7fd6e27 100644 --- a/include/llvm/ADT/StringSwitch.h +++ b/include/llvm/ADT/StringSwitch.h @@ -48,8 +48,8 @@ class StringSwitch { const T *Result; public: - explicit StringSwitch(StringRef Str) - : Str(Str), Result(0) { } + explicit StringSwitch(StringRef S) + : Str(S), Result(0) { } template<unsigned N> StringSwitch& Case(const char (&S)[N], const T& Value) { |