diff --git a/llvm/lib/TableGen/TGPreprocessor.h b/llvm/lib/TableGen/TGPreprocessor.h index 2b9ed9c1566f..fe7e2a34bf3d 100644 --- a/llvm/lib/TableGen/TGPreprocessor.h +++ b/llvm/lib/TableGen/TGPreprocessor.h @@ -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