summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-01-03 15:21:29 +0000
committerDouglas Gregor <dgregor@apple.com>2012-01-03 15:21:29 +0000
commit2f197adeeb9765fb23a2da7b38da664c4e82276a (patch)
treeb58a2c5053c3c02e0de16db98bc5def7a40abb1a /clang/lib/Frontend/CompilerInvocation.cpp
parenta3e8b00f757d7ebb61a8416e0806ad6dc24afbe1 (diff)
downloadbcm5719-llvm-2f197adeeb9765fb23a2da7b38da664c4e82276a.tar.gz
bcm5719-llvm-2f197adeeb9765fb23a2da7b38da664c4e82276a.zip
Rename the command-line option for mapping #include/#import over to
module imports from -fauto-module-import to -fmodules. The new name will eventually be used to enable modules, and the #include/#import mapping is a crucial part of the feature. llvm-svn: 147447
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 0137774cf10..1b335c63f93 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -1903,7 +1903,7 @@ static void ParsePreprocessorArgs(PreprocessorOptions &Opts, ArgList &Args,
Opts.TokenCache = Opts.ImplicitPTHInclude;
Opts.UsePredefines = !Args.hasArg(OPT_undef);
Opts.DetailedRecord = Args.hasArg(OPT_detailed_preprocessing_record);
- Opts.AutoModuleImport = Args.hasArg(OPT_fauto_module_import);
+ Opts.AutoModuleImport = Args.hasArg(OPT_fmodules);
Opts.DisablePCHValidation = Args.hasArg(OPT_fno_validate_pch);
Opts.DumpDeserializedPCHDecls = Args.hasArg(OPT_dump_deserialized_pch_decls);
OpenPOWER on IntegriCloud