diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-11-14 21:41:24 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-11-14 21:41:24 +0000 |
| commit | d800fd96af489b16b0e55dbfc17226dda948ea54 (patch) | |
| tree | 212e550c6912cc7f7636713c2b031eb928283145 | |
| parent | a610ab32835a4f1e75c425d392e965da4ae0736f (diff) | |
| download | bcm5719-llvm-d800fd96af489b16b0e55dbfc17226dda948ea54.tar.gz bcm5719-llvm-d800fd96af489b16b0e55dbfc17226dda948ea54.zip | |
Remove Parser::isTokenUnqualifiedId, it's not getting used anywhere.
llvm-svn: 59323
| -rw-r--r-- | clang/include/clang/Parse/Parser.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/clang/include/clang/Parse/Parser.h b/clang/include/clang/Parse/Parser.h index 9eefe55cb96..40ba2b3563f 100644 --- a/clang/include/clang/Parse/Parser.h +++ b/clang/include/clang/Parse/Parser.h @@ -127,23 +127,6 @@ private: Tok.is(tok::annot_cxxscope) || (Tok.is(tok::identifier) && NextToken().is(tok::coloncolon))); } - - /// isTokenUnqualifiedId - True if token is the start of C++ unqualified-id - /// or an identifier in C. - /// - /// unqualified-id: - /// identifier - /// [C++] operator-function-id - /// [C++] conversion-function-id - /// [C++] '~' class-name - /// [C++] template-id [TODO] - /// - bool isTokenUnqualifiedId() const { - return Tok.is(tok::identifier) || // identifier or template-id - Tok.is(tok::kw_operator) || // operator/conversion-function-id or - // template-id - (Tok.is(tok::tilde) && getLang().CPlusPlus); // '~' class-name - } /// ConsumeToken - Consume the current 'peek token' and lex the next one. /// This does not work with all kinds of tokens: strings and specific other |

