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 | efb31f3f3cb7b97a70dee38e156196d61d58e77c (patch) | |
tree | c1349715d9fdb33cd01616fa60169e48f516f704 /llvm/lib/TableGen/TGPreprocessor.h | |
parent | f4f47ccd1299a83c62680a4871cc46ffec9fa2c4 (diff) | |
download | bcm5719-llvm-efb31f3f3cb7b97a70dee38e156196d61d58e77c.tar.gz bcm5719-llvm-efb31f3f3cb7b97a70dee38e156196d61d58e77c.zip |
Fix compilation when using gcc-4.6. Patch by wanders.
llvm-svn: 141178
Diffstat (limited to 'llvm/lib/TableGen/TGPreprocessor.h')
-rw-r--r-- | llvm/lib/TableGen/TGPreprocessor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/TableGen/TGPreprocessor.h b/llvm/lib/TableGen/TGPreprocessor.h index 2b9ed9c1566..fe7e2a34bf3 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 |