mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-04 10:30:01 +00:00
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
This commit is contained in:
parent
02b5e72ac6
commit
6478bdce01
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user