[all-commits] [llvm/llvm-project] 682fe1: [MC/AsmLexer] Add '?' (Question) token

Sergei Barannikov via All-commits all-commits at lists.llvm.org
Thu Jul 13 17:46:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 682fe17e08c52bbdd2c2894ed08a3f9445660cbe
      https://github.com/llvm/llvm-project/commit/682fe17e08c52bbdd2c2894ed08a3f9445660cbe
  Author: Sergei Barannikov <barannikov88 at gmail.com>
  Date:   2023-07-14 (Fri, 14 Jul 2023)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmMacro.h
    M llvm/lib/MC/MCParser/AsmLexer.cpp
    M llvm/lib/MC/MCParser/MCAsmLexer.cpp
    M llvm/unittests/MC/SystemZ/SystemZAsmLexerTest.cpp

  Log Message:
  -----------
  [MC/AsmLexer] Add '?' (Question) token

'?' is a valid token in our downstream target. There seem to be no way
to do target-specific lexing, so just add make AsmParser recognize it.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D154202




More information about the All-commits mailing list