diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-08-27 06:37:51 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-08-27 06:37:51 +0000 |
commit | 6be16fe900bdd1e5f677d23ae34fffead5bcfc77 (patch) | |
tree | 7f294f558d6190ba441ff9fe78931781e5fefa57 /include/clang/Basic/IdentifierTable.h | |
parent | 72e4d0c0bffd48eb76dabffbc044ee6f19dad6f8 (diff) |
Take an entirely different approach to handling the "parsing" of
__import__ within the preprocessor, since the prior one foolishly
assumed that Preprocessor::Lex() was re-entrant. We now handle
__import__ at the top level (only), after macro expansion. This should
fix the buildbot failures.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138704 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/IdentifierTable.h')
-rw-r--r-- | include/clang/Basic/IdentifierTable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/IdentifierTable.h b/include/clang/Basic/IdentifierTable.h index 424a3440d4..017af5caee 100644 --- a/include/clang/Basic/IdentifierTable.h +++ b/include/clang/Basic/IdentifierTable.h @@ -252,7 +252,7 @@ private: void RecomputeNeedsHandleIdentifier() { NeedsHandleIdentifier = (isPoisoned() | hasMacroDefinition() | isCPlusPlusOperatorKeyword() | - isExtensionToken() | (getTokenID() == tok::kw___import__)); + isExtensionToken()); } }; |