[all-commits] [llvm/llvm-project] e5f746: [MC] Replace a switch with two 'if's (NFC)

Sergei Barannikov via All-commits all-commits at lists.llvm.org
Sun Jan 22 16:14:51 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e5f746e9bb61f06d273c629a06eb598abfbcedc3
      https://github.com/llvm/llvm-project/commit/e5f746e9bb61f06d273c629a06eb598abfbcedc3
  Author: Sergei Barannikov <barannikov88 at gmail.com>
  Date:   2023-01-23 (Mon, 23 Jan 2023)

  Changed paths:
    M llvm/lib/MC/MCParser/AsmParser.cpp

  Log Message:
  -----------
  [MC] Replace a switch with two 'if's (NFC)

This simplifies logic a bit and helps to reduce the future diff.




More information about the All-commits mailing list