[all-commits] [llvm/llvm-project] aa8432: [TableGen][NFC] Remove unreachable code

Wang Pengcheng via All-commits all-commits at lists.llvm.org
Thu Jul 20 00:24:47 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa84326694f348243d89b55044106e32ca1cf257
      https://github.com/llvm/llvm-project/commit/aa84326694f348243d89b55044106e32ca1cf257
  Author: wangpc <wangpengcheng.pp at bytedance.com>
  Date:   2023-07-20 (Thu, 20 Jul 2023)

  Changed paths:
    M llvm/lib/TableGen/TGParser.cpp

  Log Message:
  -----------
  [TableGen][NFC] Remove unreachable code

The removed code assumed that we can define classes inside a multiclass,
so the name of outer multiclass is concatenated to the qualified name.
But for current TableGen grammar, we can't define classes in multiclass,
so it is unnecessary.

This commit is requested in D152998.




More information about the All-commits mailing list