mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
make "locations" a class instead of a typedef.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66895 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
|
||||
#include "Record.h"
|
||||
#include "TGParser.h"
|
||||
#include "TGSourceMgr.h"
|
||||
#include "llvm/Support/CommandLine.h"
|
||||
#include "llvm/Support/Streams.h"
|
||||
#include "llvm/System/Signals.h"
|
||||
@@ -124,7 +123,7 @@ static bool ParseFile(const std::string &Filename,
|
||||
}
|
||||
|
||||
// Tell SrcMgr about this buffer, which is what TGParser will pick up.
|
||||
SrcMgr.AddNewSourceBuffer(F, TGLocTy());
|
||||
SrcMgr.AddNewSourceBuffer(F, TGLoc());
|
||||
|
||||
TGParser Parser(SrcMgr);
|
||||
|
||||
|
Reference in New Issue
Block a user