r174077 - Preprocessor: initialize member introduced in r173881.

Jordan Rose jordan_rose at apple.com
Thu Jan 31 11:26:02 PST 2013


Author: jrose
Date: Thu Jan 31 13:26:01 2013
New Revision: 174077

URL: http://llvm.org/viewvc/llvm-project?rev=174077&view=rev
Log:
Preprocessor: initialize member introduced in r173881.

Compilation always sets this explicitly, but creating a preprocessor
manually should still put the 'IsPreprocessedOutput' flag in a valid state.

Modified:
    cfe/trunk/lib/Lex/Preprocessor.cpp

Modified: cfe/trunk/lib/Lex/Preprocessor.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/Preprocessor.cpp?rev=174077&r1=174076&r2=174077&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/Preprocessor.cpp (original)
+++ cfe/trunk/lib/Lex/Preprocessor.cpp Thu Jan 31 13:26:01 2013
@@ -97,6 +97,7 @@ Preprocessor::Preprocessor(IntrusiveRefC
   NumCachedTokenLexers = 0;
   PragmasEnabled = true;
   ParsingIfOrElifDirective = false;
+  PreprocessedOutput = false;
 
   CachedLexPos = 0;
 





More information about the cfe-commits mailing list