projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63adddd
)
Preprocessor: initialize member introduced in r173881.
author
Jordan Rose
<jordan_rose@apple.com>
Thu, 31 Jan 2013 19:26:01 +0000
(19:26 +0000)
committer
Jordan Rose
<jordan_rose@apple.com>
Thu, 31 Jan 2013 19:26:01 +0000
(19:26 +0000)
Compilation always sets this explicitly, but creating a preprocessor
manually should still put the 'IsPreprocessedOutput' flag in a valid state.
llvm-svn: 174077
clang/lib/Lex/Preprocessor.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Lex/Preprocessor.cpp
b/clang/lib/Lex/Preprocessor.cpp
index 4c3c181f446177738602f65e317e90d3615234ec..eb498dbfd286ae6b0299ffd2de8837241ae7a8bf 100644
(file)
--- a/
clang/lib/Lex/Preprocessor.cpp
+++ b/
clang/lib/Lex/Preprocessor.cpp
@@
-97,6
+97,7
@@
Preprocessor::Preprocessor(IntrusiveRefCntPtr<PreprocessorOptions> PPOpts,
NumCachedTokenLexers = 0;
PragmasEnabled = true;
ParsingIfOrElifDirective = false;
+ PreprocessedOutput = false;
CachedLexPos = 0;