diff options
author | Duncan Sands <baldrick@free.fr> | 2011-10-05 14:36:12 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2011-10-05 14:36:12 +0000 |
commit | 6478bdce01f7e2363f78cb248f677c1db0bdc303 (patch) | |
tree | 1cc4605f5112b527a216e4b2531f5be616698d38 | |
parent | 02b5e72ac6ec1fe81e1f73f85be436faa078eabf (diff) |
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
-rw-r--r-- | lib/TableGen/TGPreprocessor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/TableGen/TGPreprocessor.h b/lib/TableGen/TGPreprocessor.h index 2b9ed9c156..fe7e2a34bf 100644 --- a/lib/TableGen/TGPreprocessor.h +++ b/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 |