aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/Preprocessor.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-05-02 03:43:21 +0000
committerAlp Toker <alp@nuanti.com>2014-05-02 03:43:21 +0000
commit23aa3532919dfcfea2b12fbd8c8d8b820104744c (patch)
tree902b56b6ce53351ae4ba48dd5e63f985bb4bfc2b /clang/lib/Lex/Preprocessor.cpp
parent1c583cc668f16e7eba39322301bb8bd2e450c758 (diff)
downloadllvm-23aa3532919dfcfea2b12fbd8c8d8b820104744c.zip
llvm-23aa3532919dfcfea2b12fbd8c8d8b820104744c.tar.gz
llvm-23aa3532919dfcfea2b12fbd8c8d8b820104744c.tar.bz2
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.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/Lex/Preprocessor.cpp b/clang/lib/Lex/Preprocessor.cpp
index d85df38..adbee6e 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),