Fix shadowed variable warning

llvm-svn: 161097
This commit is contained in:
Nick Kledzik 2012-08-01 01:43:10 +00:00
parent 307cf89b19
commit 21f80bad45
1 changed files with 2 additions and 2 deletions

View File

@ -48,8 +48,8 @@ class StringSwitch {
const T *Result; const T *Result;
public: public:
explicit StringSwitch(StringRef Str) explicit StringSwitch(StringRef S)
: Str(Str), Result(0) { } : Str(S), Result(0) { }
template<unsigned N> template<unsigned N>
StringSwitch& Case(const char (&S)[N], const T& Value) { StringSwitch& Case(const char (&S)[N], const T& Value) {