diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-08-21 18:14:59 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-08-21 18:14:59 +0000 |
commit | 64bfcbbc58ad485db157190496f0f39156b5a516 (patch) | |
tree | 2e40b93e5363a97b6c8f35effb2c7efbacfa87b9 /include | |
parent | 4c1d2baa7c3303302fec9a15ebc4021bd5d45002 (diff) | |
download | external_llvm-64bfcbbc58ad485db157190496f0f39156b5a516.zip external_llvm-64bfcbbc58ad485db157190496f0f39156b5a516.tar.gz external_llvm-64bfcbbc58ad485db157190496f0f39156b5a516.tar.bz2 |
[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
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCTargetAsmParser.h | 4 |
1 files changed, 3 insertions, 1 deletions
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<MCParsedAsmOperand*> &Operands, - SmallVectorImpl<MCInst> &MCInsts) { + SmallVectorImpl<MCInst> &MCInsts, + unsigned &OrigErrorInfo) { + OrigErrorInfo = ~0x0; return true; } |