From 97eec24b0bc245fc96ac9615899c3d15a6bc8b3e Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Thu, 15 Sep 2011 22:00:41 +0000 Subject: Add an experimental flag -fauto-module-import that automatically turns #include or #import direcctives of framework headers into module imports of the corresponding framework module. llvm-svn: 139860 --- clang/lib/Lex/Preprocessor.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/Lex/Preprocessor.cpp') diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp index db3479e8f3e..cf63e270aa0 100644 --- a/clang/lib/Lex/Preprocessor.cpp +++ b/clang/lib/Lex/Preprocessor.cpp @@ -133,6 +133,7 @@ void Preprocessor::Initialize(const TargetInfo &Target) { KeepComments = false; KeepMacroComments = false; SuppressIncludeNotFoundError = false; + AutoModuleImport = false; // Macro expansion is enabled. DisableMacroExpansion = false; -- cgit v1.2.3