[llvm-commits] [llvm] r141178 - /llvm/trunk/lib/TableGen/TGPreprocessor.h
Duncan Sands
baldrick at free.fr
Wed Oct 5 07:36:13 PDT 2011
Author: baldrick
Date: Wed Oct 5 09:36:12 2011
New Revision: 141178
URL: http://llvm.org/viewvc/llvm-project?rev=141178&view=rev
Log:
Fix compilation when using gcc-4.6. Patch by wanders.
Modified:
llvm/trunk/lib/TableGen/TGPreprocessor.h
Modified: llvm/trunk/lib/TableGen/TGPreprocessor.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/TableGen/TGPreprocessor.h?rev=141178&r1=141177&r2=141178&view=diff
==============================================================================
--- llvm/trunk/lib/TableGen/TGPreprocessor.h (original)
+++ llvm/trunk/lib/TableGen/TGPreprocessor.h Wed Oct 5 09:36:12 2011
@@ -40,7 +40,7 @@
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
More information about the llvm-commits
mailing list