From 64bfcbbc58ad485db157190496f0f39156b5a516 Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Tue, 21 Aug 2012 18:14:59 +0000 Subject: [ms-inline asm] Expose the ErrorInfo from the MatchInstructionImpl. In general, this is the index of the operand that failed to match. Note: This may cause a buildbot failure due to an API mismatch in clang. Should recover with my next commit to clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162295 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/MC/MCTargetAsmParser.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/llvm/MC/MCTargetAsmParser.h b/include/llvm/MC/MCTargetAsmParser.h index 929a204..0200e0c 100644 --- a/include/llvm/MC/MCTargetAsmParser.h +++ b/include/llvm/MC/MCTargetAsmParser.h @@ -88,7 +88,9 @@ public: virtual bool MatchInstruction(SMLoc IDLoc, SmallVectorImpl &Operands, - SmallVectorImpl &MCInsts) { + SmallVectorImpl &MCInsts, + unsigned &OrigErrorInfo) { + OrigErrorInfo = ~0x0; return true; } -- cgit v1.1