Add a "Modules" language option, which subsumes the previous
"AutoModuleImport" preprocessor option and is tied to -fmodules. llvm-svn: 147448
This commit is contained in:
@@ -627,10 +627,6 @@ void clang::InitializePreprocessor(Preprocessor &PP,
|
||||
InitializeFileRemapping(PP.getDiagnostics(), PP.getSourceManager(),
|
||||
PP.getFileManager(), InitOpts);
|
||||
|
||||
// Specify whether the preprocessor should replace #include/#import with
|
||||
// module imports when plausible.
|
||||
PP.setAutoModuleImport(InitOpts.AutoModuleImport);
|
||||
|
||||
// Emit line markers for various builtin sections of the file. We don't do
|
||||
// this in asm preprocessor mode, because "# 4" is not a line marker directive
|
||||
// in this mode.
|
||||
|
||||
Reference in New Issue
Block a user