Skip to content

Commit 9ddcacc

Browse files
committed
[Sparc] Replace OperandMatchResultTy with ParseStatus (NFC)
ParseStatus is slightly more convenient to use due to implicit conversion from bool, which allows to do something like: ``` return Error(L, "msg"); ``` when with MatchOperandResultTy it had to be: ``` Error(L, "msg"); return MatchOperand_ParseFail; ``` It also has more appropriate name since parse* methods are not only for parsing operands. Reviewed By: brad Differential Revision: https://reviews.llvm.org/D154321
1 parent 1dc0071 commit 9ddcacc

File tree

1 file changed

+95
-126
lines changed

1 file changed

+95
-126
lines changed

0 commit comments

Comments
 (0)