Fix shadowed variable warning

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161097 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Kledzik 2012-08-01 01:43:10 +00:00
parent fa566d02cc
commit 12648bed28

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