summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/TableGen.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-13 16:01:53 +0000
committerChris Lattner <sabre@nondot.org>2009-03-13 16:01:53 +0000
commit87710ca527f624ef0c5b4c5e2fbf1474e4eac219 (patch)
treeb035ddca634ae6169f09eed6c9537801cc1f9c3f /llvm/utils/TableGen/TableGen.cpp
parent0bf152ef0bb54fc056fd675a125a410b67a5129b (diff)
downloadbcm5719-llvm-87710ca527f624ef0c5b4c5e2fbf1474e4eac219.tar.gz
bcm5719-llvm-87710ca527f624ef0c5b4c5e2fbf1474e4eac219.zip
make "locations" a class instead of a typedef.
llvm-svn: 66895
Diffstat (limited to 'llvm/utils/TableGen/TableGen.cpp')
-rw-r--r--llvm/utils/TableGen/TableGen.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/TableGen.cpp b/llvm/utils/TableGen/TableGen.cpp
index c6a1f2e4ab5..8cbba22069b 100644
--- a/llvm/utils/TableGen/TableGen.cpp
+++ b/llvm/utils/TableGen/TableGen.cpp
@@ -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);
OpenPOWER on IntegriCloud