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;
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) {