diff options
Diffstat (limited to 'lib/Lex/Lexer.cpp')
-rw-r--r-- | lib/Lex/Lexer.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Lex/Lexer.cpp b/lib/Lex/Lexer.cpp index 4fbbe3cc46..8bce589f17 100644 --- a/lib/Lex/Lexer.cpp +++ b/lib/Lex/Lexer.cpp @@ -51,12 +51,6 @@ tok::ObjCKeywordKind Token::getObjCKeywordID() const { return specId ? specId->getObjCKeywordID() : tok::objc_not_keyword; } -/// isNamedIdentifier - Return true if this token is a ppidentifier with the -/// specified name. For example, tok.isNamedIdentifier("this"). -bool Token::isNamedIdentifier(const char *Name) const { - return IdentInfo && !strcmp(IdentInfo->getName(), Name); -} - //===----------------------------------------------------------------------===// // Lexer Class Implementation |