[cfe-commits] r138683 - /cfe/trunk/include/clang/Basic/IdentifierTable.h

Douglas Gregor dgregor at apple.com
Fri Aug 26 17:10:53 PDT 2011


Author: dgregor
Date: Fri Aug 26 19:10:53 2011
New Revision: 138683

URL: http://llvm.org/viewvc/llvm-project?rev=138683&view=rev
Log:
Silence a GCC warning

Modified:
    cfe/trunk/include/clang/Basic/IdentifierTable.h

Modified: cfe/trunk/include/clang/Basic/IdentifierTable.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/IdentifierTable.h?rev=138683&r1=138682&r2=138683&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/IdentifierTable.h (original)
+++ cfe/trunk/include/clang/Basic/IdentifierTable.h Fri Aug 26 19:10:53 2011
@@ -252,7 +252,7 @@
   void RecomputeNeedsHandleIdentifier() {
     NeedsHandleIdentifier =
       (isPoisoned() | hasMacroDefinition() | isCPlusPlusOperatorKeyword() |
-       isExtensionToken() | getTokenID() == tok::kw___import__);
+       isExtensionToken() | (getTokenID() == tok::kw___import__));
   }
 };
 





More information about the cfe-commits mailing list