[cfe-commits] r39024 - /cfe/cfe/trunk/Lex/IdentifierTable.cpp

sabre at cs.uiuc.edu sabre at cs.uiuc.edu
Wed Jul 11 09:26:56 PDT 2007


Author: sabre
Date: Wed Jul 11 11:26:56 2007
New Revision: 39024

URL: http://llvm.org/viewvc/llvm-project?rev=39024&view=rev
Log:
rename

Modified:
    cfe/cfe/trunk/Lex/IdentifierTable.cpp

Modified: cfe/cfe/trunk/Lex/IdentifierTable.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Lex/IdentifierTable.cpp?rev=39024&r1=39023&r2=39024&view=diff

==============================================================================
--- cfe/cfe/trunk/Lex/IdentifierTable.cpp (original)
+++ cfe/cfe/trunk/Lex/IdentifierTable.cpp Wed Jul 11 11:26:56 2007
@@ -259,9 +259,9 @@
 /// specified langauge, set to 1 if it is an extension in the specified
 /// language, and set to 2 if disabled in the specified language.
 static void AddKeyword(const std::string &Keyword, tok::TokenKind TokenCode,
-                       int C90, int C99, int CPP,
+                       int C90, int C99, int CXX,
                        const LangOptions &LangOpts, IdentifierTable &Table) {
-  int Flags = LangOpts.CPlusPlus ? CPP : (LangOpts.C99 ? C99 : C90);
+  int Flags = LangOpts.CPlusPlus ? CXX : (LangOpts.C99 ? C99 : C90);
   
   // Don't add this keyword if disabled in this language or if an extension
   // and extensions are disabled.





More information about the cfe-commits mailing list