X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FADT%2FStringSwitch.h;h=7fd6e27960321a3e680fecf87d3f0467486ca01b;hb=2e522d05278a69cf75b41dcd4b358e46b5350425;hp=74805830d8546ec6317ed52c4a24ee033212ef5e;hpb=726a3d284ec1949c4ccf77e79ca0506e8a38b05c;p=oota-llvm.git diff --git a/include/llvm/ADT/StringSwitch.h b/include/llvm/ADT/StringSwitch.h index 74805830d85..7fd6e279603 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 StringSwitch& Case(const char (&S)[N], const T& Value) {