diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-01-03 19:32:59 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-01-03 19:32:59 +0000 |
commit | da82e703d1d9e39fd5acdf18e06855e452c87984 (patch) | |
tree | c148834214171b1c8467de34396e2601d68d646a /clang/lib/Basic/IdentifierTable.cpp | |
parent | c2f91c37e83a54c649582120827a25862a10f312 (diff) | |
download | bcm5719-llvm-da82e703d1d9e39fd5acdf18e06855e452c87984.tar.gz bcm5719-llvm-da82e703d1d9e39fd5acdf18e06855e452c87984.zip |
Eliminate the uglified keyword __import_module__ for importing
modules. This leaves us without an explicit syntax for importing
modules in C/C++, because such a syntax needs to be discussed
first. In Objective-C/Objective-C++, the @import syntax is used to
import modules.
Note that, under -fmodules, C/C++ programs can import modules via the
#include mechanism when a module map is in place for that header. This
allows us to work with modules in C/C++ without committing to a syntax.
llvm-svn: 147467
Diffstat (limited to 'clang/lib/Basic/IdentifierTable.cpp')
-rw-r--r-- | clang/lib/Basic/IdentifierTable.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Basic/IdentifierTable.cpp b/clang/lib/Basic/IdentifierTable.cpp index 4368ff712c4..3da15bde0e9 100644 --- a/clang/lib/Basic/IdentifierTable.cpp +++ b/clang/lib/Basic/IdentifierTable.cpp @@ -40,6 +40,7 @@ IdentifierInfo::IdentifierInfo() { ChangedAfterLoad = false; RevertedTokenID = false; OutOfDate = false; + IsImport = false; FETokenInfo = 0; Entry = 0; } |