aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGDecl.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-12-02 23:23:56 +0000
committerDouglas Gregor <dgregor@apple.com>2011-12-02 23:23:56 +0000
commit15de72cf580840c61e5704c2f8a2b56f9d0638e1 (patch)
treeeb022e2c3030fe1e50032b63d73fa5e929e035e4 /lib/CodeGen/CGDecl.cpp
parent687b5df89d4ba91219df578d02087c68c09a0332 (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/CodeGen/CGDecl.cpp')
-rw-r--r--lib/CodeGen/CGDecl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CGDecl.cpp b/lib/CodeGen/CGDecl.cpp
index 59efea0dae..c7bc87ba1e 100644
--- a/lib/CodeGen/CGDecl.cpp
+++ b/lib/CodeGen/CGDecl.cpp
@@ -84,6 +84,7 @@ void CodeGenFunction::EmitDecl(const Decl &D) {
case Decl::NamespaceAlias:
case Decl::StaticAssert: // static_assert(X, ""); [C++0x]
case Decl::Label: // __label__ x;
+ case Decl::Import:
// None of these decls require codegen support.
return;