diff options
author | Sergei Barannikov <barannikov88@gmail.com> | 2023-07-03 07:21:53 +0300 |
---|---|---|
committer | Sergei Barannikov <barannikov88@gmail.com> | 2023-07-04 22:19:59 +0300 |
commit | 4c691aedd37fb065c411dd246527dde61a56321b (patch) | |
tree | ff00481e4f902a43c50c06bf88eb987d6218463b /llvm/lib/FileCheck/FileCheck.cpp | |
parent | d22918484e7769fd8667a64a7df662b6de6bde6c (diff) | |
download | llvm-4c691aedd37fb065c411dd246527dde61a56321b.zip llvm-4c691aedd37fb065c411dd246527dde61a56321b.tar.gz llvm-4c691aedd37fb065c411dd246527dde61a56321b.tar.bz2 |
[M68k] 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: myhsu
Differential Revision: https://reviews.llvm.org/D154320
Diffstat (limited to 'llvm/lib/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions