1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Fix compilation when using gcc-4.6. Patch by wanders.

llvm-svn: 141178
This commit is contained in:
Duncan Sands 2011-10-05 14:36:12 +00:00
parent f7df28c1f5
commit d655940f41

View File

@ -40,7 +40,7 @@ class TGPreprocessor {
public:
TGPreprocessor(SourceMgr &SM, tool_output_file &O)
: SrcMgr(SM), Out(O), Lexer(NULL), CurRecords(NULL) {
: SrcMgr(SM), Out(O), Lexer(0), CurRecords(0) {
}
/// PreprocessFile - Main entrypoint for preprocess a tblgen file. These