summaryrefslogtreecommitdiffstats
path: root/include/clang/Lex/Token.h
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2010-09-03 17:33:04 +0000
committerFariborz Jahanian <fjahanian@apple.com>2010-09-03 17:33:04 +0000
commitafbc68177cc11b8bfa47464b20e15d5f8fb21d4e (patch)
tree0b4af44715a2e163bbd576f20df96b8dcabbb23d /include/clang/Lex/Token.h
parentbfebed2a839e12c3e99d635dbd1f4f875ce8b066 (diff)
Use getSpelling to get original text of the
c++ operator token. (radar 8328250). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112977 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/Token.h')
-rw-r--r--include/clang/Lex/Token.h11
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)