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:
Chris Lattner
2009-03-13 16:01:53 +00:00
parent d9c9bf77d8
commit 1c8ae59dfd
7 changed files with 82 additions and 58 deletions

View File

@@ -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);