aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-06-16 00:20:23 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-06-16 00:20:23 +0000
commitcf18b79ccfb352b265db5ce7330e15cf38bb1e82 (patch)
treee9c87be0fa417a98db35b39d1ad0b3a312c36b27 /clang/lib/Driver/Tools.cpp
parent3d8fceafe6ed505fee337c184fc0e08c2e41a104 (diff)
downloadllvm-cf18b79ccfb352b265db5ce7330e15cf38bb1e82.zip
llvm-cf18b79ccfb352b265db5ce7330e15cf38bb1e82.tar.gz
llvm-cf18b79ccfb352b265db5ce7330e15cf38bb1e82.tar.bz2
[modules] Rename -fmodule-maps to -fimplicit-module-maps (and likewise for
-fno-module-maps). The old names are preserved for compatibility. llvm-svn: 239792
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r--clang/lib/Driver/Tools.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp
index 99352a4..a3a9d0b 100644
--- a/clang/lib/Driver/Tools.cpp
+++ b/clang/lib/Driver/Tools.cpp
@@ -4151,8 +4151,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
// -fmodule-maps enables implicit reading of module map files. By default,
// this is enabled if we are using precompiled modules.
- if (Args.hasFlag(options::OPT_fmodule_maps, options::OPT_fno_module_maps,
- HaveModules)) {
+ if (Args.hasFlag(options::OPT_fimplicit_module_maps,
+ options::OPT_fno_implicit_module_maps, HaveModules)) {
CmdArgs.push_back("-fimplicit-module-maps");
}