[cfe-commits] r59323 - /cfe/trunk/include/clang/Parse/Parser.h

Argiris Kirtzidis akyrtzi at gmail.com
Fri Nov 14 13:41:25 PST 2008


Author: akirtzidis
Date: Fri Nov 14 15:41:24 2008
New Revision: 59323

URL: http://llvm.org/viewvc/llvm-project?rev=59323&view=rev
Log:
Remove Parser::isTokenUnqualifiedId, it's not getting used anywhere.

Modified:
    cfe/trunk/include/clang/Parse/Parser.h

Modified: cfe/trunk/include/clang/Parse/Parser.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Parse/Parser.h?rev=59323&r1=59322&r2=59323&view=diff

==============================================================================
--- cfe/trunk/include/clang/Parse/Parser.h (original)
+++ cfe/trunk/include/clang/Parse/Parser.h Fri Nov 14 15:41:24 2008
@@ -127,23 +127,6 @@
             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





More information about the cfe-commits mailing list