summaryrefslogtreecommitdiffstats
path: root/llvm/lib/TableGen/TGParser.h
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-01-10 18:50:11 +0000
committerJordan Rose <jordan_rose@apple.com>2013-01-10 18:50:11 +0000
commitf12e8a93ee7afbdac23c424a805b51682cc86746 (patch)
treee35d2133a792e09634aecf2d25ebb1a6037450ea /llvm/lib/TableGen/TGParser.h
parentabdd99b5aad2520276aad43e243c89bf45d76d45 (diff)
downloadbcm5719-llvm-f12e8a93ee7afbdac23c424a805b51682cc86746.tar.gz
bcm5719-llvm-f12e8a93ee7afbdac23c424a805b51682cc86746.zip
TableGen: Keep track of superclass reference ranges.
def foo : bar; ~~~ This allows us to produce more precise diagnostics about a certain superclass, and even provide fixits. llvm-svn: 172085
Diffstat (limited to 'llvm/lib/TableGen/TGParser.h')
-rw-r--r--llvm/lib/TableGen/TGParser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/TableGen/TGParser.h b/llvm/lib/TableGen/TGParser.h
index 215cbfcca7b..e55805d5525 100644
--- a/llvm/lib/TableGen/TGParser.h
+++ b/llvm/lib/TableGen/TGParser.h
@@ -134,7 +134,7 @@ private: // Parser methods.
Record *InstantiateMulticlassDef(MultiClass &MC,
Record *DefProto,
Init *DefmPrefix,
- SMLoc DefmPrefixLoc);
+ SMRange DefmPrefixRange);
bool ResolveMulticlassDefArgs(MultiClass &MC,
Record *DefProto,
SMLoc DefmPrefixLoc,
OpenPOWER on IntegriCloud