[demangler] Fix some more -Wshadow warnings I missed in r310535

llvm-svn: 310546
This commit is contained in:
Erik Pilkington 2017-08-10 02:48:13 +00:00
parent ccd412f48d
commit a95eae2d4b
1 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ class StringView {
public:
template <size_t N>
StringView(const char (&Str)[N]) : First(Str), Last(Str + N - 1) {}
StringView(const char *First, const char *Last) : First(First), Last(Last) {}
StringView(const char *First_, const char *Last_) : First(First_), Last(Last_) {}
StringView() : First(nullptr), Last(nullptr) {}
StringView substr(size_t From, size_t To) {
@ -132,8 +132,8 @@ public:
public:
StreamStringView() : First(0), Last(0) {}
StreamStringView(StreamPosition First, StreamPosition Last)
: First(First), Last(Last) {}
StreamStringView(StreamPosition First_, StreamPosition Last_)
: First(First_), Last(Last_) {}
bool empty() const { return First == Last; }
};