[all-commits] [llvm/llvm-project] d1d3aa: [TableGen][NFC] Add record kind to `Record` class ...

Wang Pengcheng via All-commits all-commits at lists.llvm.org
Mon Oct 23 23:28:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d1d3aa34ec9a07bac56e026c3505a53c9da6d72c
      https://github.com/llvm/llvm-project/commit/d1d3aa34ec9a07bac56e026c3505a53c9da6d72c
  Author: Wang Pengcheng <wangpengcheng.pp at bytedance.com>
  Date:   2023-10-24 (Tue, 24 Oct 2023)

  Changed paths:
    M llvm/include/llvm/TableGen/Record.h
    M llvm/lib/TableGen/Record.cpp
    M llvm/lib/TableGen/TGParser.cpp
    M llvm/lib/TableGen/TGParser.h

  Log Message:
  -----------
  [TableGen][NFC] Add record kind to `Record` class (#69919)

enum `RecordKind` is added to indicate the kind of Record (which
can be a normal record definition, anonymous record definition,
class or multiclass).

Some arguments like `IsMC` and `IsDefm` are removed since we can
get the information from `RecordKind`.




More information about the All-commits mailing list