summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/Lexer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Lex/Lexer.cpp')
-rw-r--r--clang/lib/Lex/Lexer.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/lib/Lex/Lexer.cpp b/clang/lib/Lex/Lexer.cpp
index 4fbbe3cc464..8bce589f177 100644
--- a/clang/lib/Lex/Lexer.cpp
+++ b/clang/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
OpenPOWER on IntegriCloud