diff options
author | Douglas Gregor <dgregor@apple.com> | 2013-01-25 00:45:27 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2013-01-25 00:45:27 +0000 |
commit | f575d6e7c3b887ea4c5394d2c7e322c7a929a57e (patch) | |
tree | 325c8ea980071f606958a9412bb41b0bdcaa3678 /include/clang/Frontend/FrontendOptions.h | |
parent | e169807aaea2464cbe68305f013ec7b41625af30 (diff) |
Rename the -cc1 option "-generate-module-index" to
"-fmodules-global-index" and expand its behavior to include both the
use and generation of the global module index.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173404 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Frontend/FrontendOptions.h')
-rw-r--r-- | include/clang/Frontend/FrontendOptions.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/clang/Frontend/FrontendOptions.h b/include/clang/Frontend/FrontendOptions.h index bb6da349ba..38162110f3 100644 --- a/include/clang/Frontend/FrontendOptions.h +++ b/include/clang/Frontend/FrontendOptions.h @@ -137,9 +137,11 @@ public: /// speed up parsing in cases you do /// not need them (e.g. with code /// completion). - unsigned GenerateModuleIndex : 1; ///< Whether to auto-generate a - ///< global module index when a new - ///< module has been built. + unsigned UseGlobalModuleIndex : 1; ///< Whether we can use the + ///< global module index if available. + unsigned GenerateGlobalModuleIndex : 1; ///< Whether we can generate the + ///< global module index if needed. + CodeCompleteOptions CodeCompleteOpts; enum { @@ -211,7 +213,8 @@ public: ShowStats(false), ShowTimers(false), ShowVersion(false), FixWhatYouCan(false), FixOnlyWarnings(false), FixAndRecompile(false), FixToTemporaries(false), ARCMTMigrateEmitARCErrors(false), - SkipFunctionBodies(false), GenerateModuleIndex(false), + SkipFunctionBodies(false), UseGlobalModuleIndex(false), + GenerateGlobalModuleIndex(false), ARCMTAction(ARCMT_None), ObjCMTAction(ObjCMT_None), ProgramAction(frontend::ParseSyntaxOnly) {} |