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 f4f47ccd12
commit efb31f3f3c
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class TGPreprocessor {
public: public:
TGPreprocessor(SourceMgr &SM, tool_output_file &O) 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 /// PreprocessFile - Main entrypoint for preprocess a tblgen file. These