aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/FileCheck/FileCheckImpl.h
diff options
context:
space:
mode:
authorSergei Barannikov <barannikov88@gmail.com>2023-07-02 01:51:17 +0300
committerSergei Barannikov <barannikov88@gmail.com>2023-07-04 22:32:22 +0300
commitb4b532a9562a1ebca347edc566363fba0531115b (patch)
treeb1e84e5e3cab6af5724ce243c4b687ccc04cd72c /llvm/lib/FileCheck/FileCheckImpl.h
parentd73c8c8fab0c79e3be3abf8f4d1fc3469b1bf223 (diff)
downloadllvm-b4b532a9562a1ebca347edc566363fba0531115b.zip
llvm-b4b532a9562a1ebca347edc566363fba0531115b.tar.gz
llvm-b4b532a9562a1ebca347edc566363fba0531115b.tar.bz2
[RISCV] 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: asb Differential Revision: https://reviews.llvm.org/D154291
Diffstat (limited to 'llvm/lib/FileCheck/FileCheckImpl.h')
0 files changed, 0 insertions, 0 deletions