diff options
| author | Alp Toker <alp@nuanti.com> | 2014-05-02 03:43:21 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2014-05-02 03:43:21 +0000 |
| commit | 23aa3532919dfcfea2b12fbd8c8d8b820104744c (patch) | |
| tree | 902b56b6ce53351ae4ba48dd5e63f985bb4bfc2b /clang/lib | |
| parent | 1c583cc668f16e7eba39322301bb8bd2e450c758 (diff) | |
| download | bcm5719-llvm-23aa3532919dfcfea2b12fbd8c8d8b820104744c.tar.gz bcm5719-llvm-23aa3532919dfcfea2b12fbd8c8d8b820104744c.zip | |
Remove unused IncrProcessing parameter from Preprocessor ctor
Preprocessor::enableIncrementalProcessing() provides a consistent interface to
enable the feature.
llvm-svn: 207824
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Frontend/CompilerInstance.cpp | 1 | ||||
| -rw-r--r-- | clang/lib/Lex/Preprocessor.cpp | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp index 1fa1f4a1067..aa2e07e668b 100644 --- a/clang/lib/Frontend/CompilerInstance.cpp +++ b/clang/lib/Frontend/CompilerInstance.cpp @@ -244,7 +244,6 @@ void CompilerInstance::createPreprocessor(TranslationUnitKind TUKind) { getSourceManager(), *HeaderInfo, *this, PTHMgr, /*OwnsHeaderSearch=*/true, /*DelayInitialization=*/false, - /*IncrProcessing=*/false, TUKind); // Note that this is different then passing PTHMgr to Preprocessor's ctor. diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp index d85df38ea71..adbee6e3a94 100644 --- a/clang/lib/Lex/Preprocessor.cpp +++ b/clang/lib/Lex/Preprocessor.cpp @@ -59,12 +59,11 @@ Preprocessor::Preprocessor(IntrusiveRefCntPtr<PreprocessorOptions> PPOpts, const TargetInfo *target, SourceManager &SM, HeaderSearch &Headers, ModuleLoader &TheModuleLoader, IdentifierInfoLookup *IILookup, bool OwnsHeaders, - bool DelayInitialization, bool IncrProcessing, - TranslationUnitKind TUKind) + bool DelayInitialization, TranslationUnitKind TUKind) : PPOpts(PPOpts), Diags(&diags), LangOpts(opts), Target(target), FileMgr(Headers.getFileMgr()), SourceMgr(SM), HeaderInfo(Headers), TheModuleLoader(TheModuleLoader), ExternalSource(0), - Identifiers(opts, IILookup), IncrementalProcessing(IncrProcessing), + Identifiers(opts, IILookup), IncrementalProcessing(false), TUKind(TUKind), CodeComplete(0), CodeCompletionFile(0), CodeCompletionOffset(0), LastTokenWasAt(false), ModuleImportExpectsIdentifier(false), |

