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 | c514a8a0eaa575cf46b038cc27fa1e4e8c22f89a (patch) | |
tree | 4ffc10ae01eedc09ec9fe76b8e1b54abce7682fc /lib/Driver/Tools.cpp | |
parent | 0257b7fbbe2e48bdc4c435a275b5daac195fb1cb (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147447 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
-rw-r--r-- | lib/Driver/Tools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index f678667c33..b7379e72ea 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -395,7 +395,7 @@ void Clang::AddPreprocessingOptions(Compilation &C, CmdArgs.push_back(Args.MakeArgString(DefaultModuleCache)); } - Args.AddAllArgs(CmdArgs, options::OPT_fauto_module_import); + Args.AddAllArgs(CmdArgs, options::OPT_fmodules); // Parse additional include paths from environment variables. // FIXME: We should probably sink the logic for handling these from the |