aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorSergei Barannikov <barannikov88@gmail.com>2023-07-02 18:58:26 +0300
committerSergei Barannikov <barannikov88@gmail.com>2023-07-04 22:10:03 +0300
commita16797699e6f8a90a315d8b895da271854a0888e (patch)
tree1e45e276e7edb31cbc1d9081c9eb37a8b632048d /llvm/lib/FileCheck/FileCheck.cpp
parent78addb2c322740a9c3ffaf2bf2e221b49c3723d2 (diff)
downloadllvm-a16797699e6f8a90a315d8b895da271854a0888e.zip
llvm-a16797699e6f8a90a315d8b895da271854a0888e.tar.gz
llvm-a16797699e6f8a90a315d8b895da271854a0888e.tar.bz2
[MC] Use ParseStatus in generated AsmParser methods
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: kosarev Differential Revision: https://reviews.llvm.org/D154303
Diffstat (limited to 'llvm/lib/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions