diff options
author | Sergei Barannikov <barannikov88@gmail.com> | 2023-07-02 04:58:52 +0300 |
---|---|---|
committer | Sergei Barannikov <barannikov88@gmail.com> | 2023-07-04 22:29:56 +0300 |
commit | d73c8c8fab0c79e3be3abf8f4d1fc3469b1bf223 (patch) | |
tree | 24a4d7524594d701af288540da377e2c163fd165 /llvm/lib/FileCheck/FileCheckImpl.h | |
parent | cc6fabf44e73ec136c87c43b0a8edf962064b90c (diff) | |
download | llvm-d73c8c8fab0c79e3be3abf8f4d1fc3469b1bf223.zip llvm-d73c8c8fab0c79e3be3abf8f4d1fc3469b1bf223.tar.gz llvm-d73c8c8fab0c79e3be3abf8f4d1fc3469b1bf223.tar.bz2 |
[AMDGPU] 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: kosarev
Differential Revision: https://reviews.llvm.org/D154293
Diffstat (limited to 'llvm/lib/FileCheck/FileCheckImpl.h')
0 files changed, 0 insertions, 0 deletions