forked from OSchip/llvm-project
Fix compilation when using gcc-4.6. Patch by wanders.
llvm-svn: 141178
This commit is contained in:
parent
f4f47ccd12
commit
efb31f3f3c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue