projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02b5e72
)
Fix compilation when using gcc-4.6. Patch by wanders.
author
Duncan Sands
<baldrick@free.fr>
Wed, 5 Oct 2011 14:36:12 +0000
(14:36 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Wed, 5 Oct 2011 14:36:12 +0000
(14:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141178
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/TableGen/TGPreprocessor.h
patch
|
blob
|
history
diff --git
a/lib/TableGen/TGPreprocessor.h
b/lib/TableGen/TGPreprocessor.h
index 2b9ed9c1566f294a60c9f26595d1494080360a22..fe7e2a34bf3d719ae4dec503c9d116546b7810db 100644
(file)
--- 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