[all-commits] [llvm/llvm-project] bedd39: [AsmParser][NFCI] Restructure DiagnosticPredicate ...

Sam Elliott via All-commits all-commits at lists.llvm.org
Fri Feb 14 09:30:41 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bedd3926f9eabf3f3965e0a817559c13073fc783
      https://github.com/llvm/llvm-project/commit/bedd3926f9eabf3f3965e0a817559c13073fc783
  Author: Sam Elliott <quic_aelliott at quicinc.com>
  Date:   2025-02-14 (Fri, 14 Feb 2025)

  Changed paths:
    M llvm/include/llvm/MC/MCParser/MCTargetAsmParser.h
    M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp

  Log Message:
  -----------
  [AsmParser][NFCI] Restructure DiagnosticPredicate (#126653)

This restructures the DiagnosticPredicate type to more closely match how
neatly ParseStatus is defined. The DiagnosticPredicateTy enum is moved
inside the class, and the boolean conversions are made explicit.

The main user of this code is AArch64, which I have also updated to use
the new structure of the code.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list