[PATCH] D154101: [MC] Add three-state parseDirective as a replacement for ParseDirective

Sergei Barannikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 29 11:01:50 PDT 2023


barannikov88 added inline comments.


================
Comment at: llvm/include/llvm/MC/MCParser/MCTargetAsmParser.h:149
+  constexpr bool isNoMatch() const { return Status == StatusTy::NoMatch; }
+};
+
----------------
Does anyone have a preference for ParseResult over ParseStatus? I'm not sure which one is better.



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154101/new/

https://reviews.llvm.org/D154101



More information about the llvm-commits mailing list