[all-commits] [llvm/llvm-project] 65e69f: [NFC][TableGen] Change `Record::getSuperClasses` t...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Wed Oct 2 13:25:07 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 65e69f7436c08bb6a32a9d9784b2158b63af1955
      https://github.com/llvm/llvm-project/commit/65e69f7436c08bb6a32a9d9784b2158b63af1955
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2024-10-02 (Wed, 02 Oct 2024)

  Changed paths:
    M clang/utils/TableGen/ClangAttrEmitter.cpp
    M llvm/docs/TableGen/BackGuide.rst
    M llvm/include/llvm/TableGen/Record.h
    M llvm/lib/TableGen/DetailedRecordsBackend.cpp
    M llvm/lib/TableGen/Record.cpp
    M llvm/lib/TableGen/TGParser.cpp
    M llvm/utils/TableGen/CallingConvEmitter.cpp
    M llvm/utils/TableGen/Common/CodeGenRegisters.cpp
    M mlir/lib/Tools/tblgen-lsp-server/TableGenServer.cpp

  Log Message:
  -----------
  [NFC][TableGen] Change `Record::getSuperClasses` to use const Record* (#110845)

Change `Record::getSuperClasses` to return a const pointer to the
superclass records.

This is a part of effort to have better const correctness in TableGen
backends:


https://discourse.llvm.org/t/psa-planned-changes-to-tablegen-getallderiveddefinitions-api-potential-downstream-breakages/81089



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