[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-commits
Subject:    r174077 - Preprocessor: initialize member introduced in r173881.
From:       Jordan Rose <jordan_rose () apple ! com>
Date:       2013-01-31 19:26:02
Message-ID: 20130131192602.171942A6C071 () llvm ! org
[Download RAW message or body]

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;
 


_______________________________________________
cfe-commits mailing list
cfe-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic