summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/LLParser.h
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-01-19 23:32:36 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-01-19 23:32:36 +0000
commit13890af51cf1de674b2a8bccce2a2cb870617a21 (patch)
tree65ee5569485809228cfd38901fb04142055cc4d1 /llvm/lib/AsmParser/LLParser.h
parent909131b95f16f9e3e37f11cc5a5f92446c4d5547 (diff)
downloadbcm5719-llvm-13890af51cf1de674b2a8bccce2a2cb870617a21.tar.gz
bcm5719-llvm-13890af51cf1de674b2a8bccce2a2cb870617a21.zip
AsmParser: Fix error location for missing fields
llvm-svn: 226524
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.h')
-rw-r--r--llvm/lib/AsmParser/LLParser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/LLParser.h b/llvm/lib/AsmParser/LLParser.h
index b1f94c237a9..8175fbd9352 100644
--- a/llvm/lib/AsmParser/LLParser.h
+++ b/llvm/lib/AsmParser/LLParser.h
@@ -421,7 +421,8 @@ namespace llvm {
bool ParseMDField(LocTy Loc, StringRef Name,
MDUnsignedField<uint32_t> &Result);
bool ParseMDField(LocTy Loc, StringRef Name, MDField &Result);
- template <class ParserTy> bool ParseMDFieldsImpl(ParserTy parseField);
+ template <class ParserTy>
+ bool ParseMDFieldsImpl(ParserTy parseField, LocTy &ClosingLoc);
bool ParseSpecializedMDNode(MDNode *&N, bool IsDistinct = false);
bool ParseMDLocation(MDNode *&Result, bool IsDistinct);
OpenPOWER on IntegriCloud