diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-01-03 15:21:29 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-01-03 15:21:29 +0000 |
commit | 2f197adeeb9765fb23a2da7b38da664c4e82276a (patch) | |
tree | b58a2c5053c3c02e0de16db98bc5def7a40abb1a /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | a3e8b00f757d7ebb61a8416e0806ad6dc24afbe1 (diff) | |
download | bcm5719-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.cpp | 2 |
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); |