Preprocessor: initialize member introduced in r173881.
authorJordan Rose <jordan_rose@apple.com>
Thu, 31 Jan 2013 19:26:01 +0000 (19:26 +0000)
committerJordan 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

index 4c3c181f446177738602f65e317e90d3615234ec..eb498dbfd286ae6b0299ffd2de8837241ae7a8bf 100644 (file)
@@ -97,6 +97,7 @@ Preprocessor::Preprocessor(IntrusiveRefCntPtr<PreprocessorOptions> PPOpts,
   NumCachedTokenLexers = 0;
   PragmasEnabled = true;
   ParsingIfOrElifDirective = false;
+  PreprocessedOutput = false;
 
   CachedLexPos = 0;