aboutsummaryrefslogtreecommitdiff
path: root/utils/TableGen/TableGen.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-06-21 03:39:35 +0000
committerChris Lattner <sabre@nondot.org>2009-06-21 03:39:35 +0000
commit1e3a8a492471f5dc3f50452af9eb9a2dfb1aeb39 (patch)
tree9807365601608606d75dde97683796089a20187c /utils/TableGen/TableGen.cpp
parent099e198ae84c1a6cfe2a7c79ee9f47fa67caac8f (diff)
rename TGLoc -> SMLoc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73843 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/TableGen.cpp')
-rw-r--r--utils/TableGen/TableGen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/TableGen.cpp b/utils/TableGen/TableGen.cpp
index dbc4d33e81..a1b768ee7b 100644
--- a/utils/TableGen/TableGen.cpp
+++ b/utils/TableGen/TableGen.cpp
@@ -126,7 +126,7 @@ RecordKeeper llvm::Records;
static TGSourceMgr SrcMgr;
-void llvm::PrintError(TGLoc ErrorLoc, const std::string &Msg) {
+void llvm::PrintError(SMLoc ErrorLoc, const std::string &Msg) {
SrcMgr.PrintError(ErrorLoc, Msg);
}
@@ -145,7 +145,7 @@ static bool ParseFile(const std::string &Filename,
}
// Tell SrcMgr about this buffer, which is what TGParser will pick up.
- SrcMgr.AddNewSourceBuffer(F, TGLoc());
+ SrcMgr.AddNewSourceBuffer(F, SMLoc());
TGParser Parser(SrcMgr);