summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-01-03 17:07:34 +0000
committerDouglas Gregor <dgregor@apple.com>2012-01-03 17:07:34 +0000
commitad01b31b942517d1b3d4f190fd131f845c27ce34 (patch)
tree66ac743f5ce1ea42c470c6bd16aed213a3c9abb6 /clang/lib/Frontend/InitPreprocessor.cpp
parent2f197adeeb9765fb23a2da7b38da664c4e82276a (diff)
downloadbcm5719-llvm-ad01b31b942517d1b3d4f190fd131f845c27ce34.tar.gz
bcm5719-llvm-ad01b31b942517d1b3d4f190fd131f845c27ce34.zip
Add a "Modules" language option, which subsumes the previous
"AutoModuleImport" preprocessor option and is tied to -fmodules. llvm-svn: 147448
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
-rw-r--r--clang/lib/Frontend/InitPreprocessor.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/Frontend/InitPreprocessor.cpp b/clang/lib/Frontend/InitPreprocessor.cpp
index 74c2ec90ece..c736ca3ccc5 100644
--- a/clang/lib/Frontend/InitPreprocessor.cpp
+++ b/clang/lib/Frontend/InitPreprocessor.cpp
@@ -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.
OpenPOWER on IntegriCloud