Introduce a module import declaration, so that we properly represent, e.g.,

__import_module__ std.vector;

in the AST.

llvm-svn: 145725
This commit is contained in:
Douglas Gregor
2011-12-02 23:23:56 +00:00
parent 45ccba64ab
commit ba34552e79
13 changed files with 219 additions and 5 deletions

View File

@@ -2335,6 +2335,7 @@ void CodeGenModule::EmitTopLevelDecl(Decl *D) {
case Decl::TypeAliasTemplate:
case Decl::NamespaceAlias:
case Decl::Block:
case Decl::Import:
break;
case Decl::CXXConstructor:
// Skip function templates