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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141178 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2011-10-05 14:36:12 +00:00
parent 02b5e72ac6
commit 6478bdce01

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