]> granicus.if.org Git - clang/commit
When we treat an #include or #import as a module import, create an
authorDouglas Gregor <dgregor@apple.com>
Fri, 2 Dec 2011 23:42:12 +0000 (23:42 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 2 Dec 2011 23:42:12 +0000 (23:42 +0000)
commit93ebfa6139bbca4d446c7343e3afc8e5ec777484
tree1f87bec9019dc12c7cff57ff34856cf71334ce93
parent15de72cf580840c61e5704c2f8a2b56f9d0638e1
When we treat an #include or #import as a module import, create an
implicit ImportDecl in the translation unit to record the presence of
the import.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145727 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Frontend/ASTUnit.h
include/clang/Frontend/CompilerInstance.h
include/clang/Lex/ModuleLoader.h
lib/AST/Decl.cpp
lib/Frontend/CompilerInstance.cpp
lib/Lex/PPDirectives.cpp
lib/Lex/Preprocessor.cpp
lib/Sema/SemaDecl.cpp