diff options
Diffstat (limited to 'include/clang/Lex/Token.h')
-rw-r--r-- | include/clang/Lex/Token.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/include/clang/Lex/Token.h b/include/clang/Lex/Token.h index dc4acd46e2..954b36ec6d 100644 --- a/include/clang/Lex/Token.h +++ b/include/clang/Lex/Token.h @@ -76,9 +76,7 @@ public: StartOfLine = 0x01, // At start of line or only after whitespace. LeadingSpace = 0x02, // Whitespace exists before this token. DisableExpand = 0x04, // This identifier may never be macro expanded. - NeedsCleaning = 0x08, // Contained an escaped newline or trigraph. - CPlusPlusOpKeyword = 0x10 // alternative representation of - // a C++ operator in objc selectors. + NeedsCleaning = 0x08 // Contained an escaped newline or trigraph. }; tok::TokenKind getKind() const { return (tok::TokenKind)Kind; } @@ -233,12 +231,7 @@ public: /// newlines in it. /// bool needsCleaning() const { return (Flags & NeedsCleaning) ? true : false; } - - /// isCPlusPlusOpKeyword - Return true if this token is an operator - /// for C++ operator keywords. - bool isCPlusPlusOpKeyword() const - { return (Flags & CPlusPlusOpKeyword) ? true : false; } - + }; /// PPConditionalInfo - Information about the conditional stack (#if directives) |