diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-12-02 23:23:56 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-12-02 23:23:56 +0000 |
commit | 15de72cf580840c61e5704c2f8a2b56f9d0638e1 (patch) | |
tree | eb022e2c3030fe1e50032b63d73fa5e929e035e4 /lib/AST/DeclBase.cpp | |
parent | 687b5df89d4ba91219df578d02087c68c09a0332 (diff) |
Introduce a module import declaration, so that we properly represent, e.g.,
__import_module__ std.vector;
in the AST.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145725 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclBase.cpp')
-rw-r--r-- | lib/AST/DeclBase.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/DeclBase.cpp b/lib/AST/DeclBase.cpp index d892c56f71..f4507e3603 100644 --- a/lib/AST/DeclBase.cpp +++ b/lib/AST/DeclBase.cpp @@ -501,6 +501,7 @@ unsigned Decl::getIdentifierNamespaceForKind(Kind DeclKind) { case ObjCImplementation: case ObjCCategory: case ObjCCategoryImpl: + case Import: // Never looked up by name. return 0; } |