From: Chris Lattner Date: Sat, 8 Sep 2007 01:29:20 +0000 (+0000) Subject: Don't rely on ADL to find this member, patch by Justin Handville X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d33275624e53bf0c16e188d9b1f6a08b2068fcc;p=clang Don't rely on ADL to find this member, patch by Justin Handville git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41783 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Lex/Token.h b/include/clang/Lex/Token.h index a0754005e8..93e498fb6e 100644 --- a/include/clang/Lex/Token.h +++ b/include/clang/Lex/Token.h @@ -61,7 +61,7 @@ public: void setLocation(SourceLocation L) { Loc = L; } void setLength(unsigned Len) { Length = Len; } - const char *getName() const { return getTokenName(Kind); } + const char *getName() const { return tok::getTokenName(Kind); } /// startToken - Reset all flags to cleared. ///