diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-01-03 18:04:46 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-01-03 18:04:46 +0000 |
commit | 5948ae1021122164b22f74353bb7fe325a64f616 (patch) | |
tree | b10150c1440f0bd3dd2e91cb551228dd191ed587 /include/clang/Basic/IdentifierTable.h | |
parent | 674949fe3fdd796fc643f0e7660cb973da1dd383 (diff) | |
download | clang-5948ae1021122164b22f74353bb7fe325a64f616.tar.gz clang-5948ae1021122164b22f74353bb7fe325a64f616.tar.bz2 clang-5948ae1021122164b22f74353bb7fe325a64f616.tar.xz |
Introduce a non-uglified syntax for module imports in Objective-C:
@import identifier [. identifier]* ;
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147452 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/IdentifierTable.h')
-rw-r--r-- | include/clang/Basic/IdentifierTable.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/Basic/IdentifierTable.h b/include/clang/Basic/IdentifierTable.h index d7d0ded020..a5eea3281f 100644 --- a/include/clang/Basic/IdentifierTable.h +++ b/include/clang/Basic/IdentifierTable.h @@ -295,7 +295,8 @@ private: NeedsHandleIdentifier = (isPoisoned() | hasMacroDefinition() | isCPlusPlusOperatorKeyword() | isExtensionToken() | isCXX11CompatKeyword() || isOutOfDate() || - (getTokenID() == tok::kw___import_module__)); + (getTokenID() == tok::kw___import_module__) || + (getObjCKeywordID() == tok::objc_import)); } }; |