From 4d33275624e53bf0c16e188d9b1f6a08b2068fcc Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 8 Sep 2007 01:29:20 +0000 Subject: [PATCH] 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 --- include/clang/Lex/Token.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. /// -- 2.40.0