diff options
author | Sergei Barannikov <barannikov88@gmail.com> | 2023-07-03 06:45:13 +0300 |
---|---|---|
committer | Sergei Barannikov <barannikov88@gmail.com> | 2023-07-04 22:26:34 +0300 |
commit | cc6fabf44e73ec136c87c43b0a8edf962064b90c (patch) | |
tree | 8e315546a7f4710987551f2091f029cd60d9147d /llvm/lib/FileCheck/FileCheckImpl.h | |
parent | 23691bbea7f521b309a20897d62aba38649d1fe4 (diff) | |
download | llvm-cc6fabf44e73ec136c87c43b0a8edf962064b90c.zip llvm-cc6fabf44e73ec136c87c43b0a8edf962064b90c.tar.gz llvm-cc6fabf44e73ec136c87c43b0a8edf962064b90c.tar.bz2 |
[LoongArch] 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: xen0n
Differential Revision: https://reviews.llvm.org/D154318
Diffstat (limited to 'llvm/lib/FileCheck/FileCheckImpl.h')
0 files changed, 0 insertions, 0 deletions