[all-commits] [llvm/llvm-project] 743f83: [NFC][LLVM][TableGen] Change `RecordKeeper::getCla...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Wed Oct 23 11:32:28 PDT 2024


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

  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
    M llvm/utils/TableGen/Common/CodeGenRegisters.cpp
    M mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp

  Log Message:
  -----------
  [NFC][LLVM][TableGen] Change `RecordKeeper::getClass` to return const pointer (#112261)

Change `RecordKeeper::getClass` to return const record pointer. 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