summaryrefslogtreecommitdiff
path: root/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
commit850a105f72797a8e194a2b139432f63d9037cbd3 (patch)
tree67d584aa15c8c725d2d5be53d2c2bc6865e6e95f /lib/Lex/Preprocessor.cpp
parent688b1f2e84850e7205cdfb04c77554e20be70594 (diff)
downloadclang-850a105f72797a8e194a2b139432f63d9037cbd3.tar.gz
clang-850a105f72797a8e194a2b139432f63d9037cbd3.tar.bz2
clang-850a105f72797a8e194a2b139432f63d9037cbd3.tar.xz
Remove unused IncrProcessing parameter from Preprocessor ctor
Preprocessor::enableIncrementalProcessing() provides a consistent interface to enable the feature. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207824 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/Preprocessor.cpp')
-rw-r--r--lib/Lex/Preprocessor.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Lex/Preprocessor.cpp b/lib/Lex/Preprocessor.cpp
index d85df38ea7..adbee6e3a9 100644
--- a/lib/Lex/Preprocessor.cpp
+++ b/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),