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/Lex/Preprocessor.cpp | |
| 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/Lex/Preprocessor.cpp')
| -rw-r--r-- | clang/lib/Lex/Preprocessor.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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), |

