[all-commits] [llvm/llvm-project] 7ac474: [LLVM][TableGen] Change SeachableTableEmitter to u...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Mon Sep 30 10:09:09 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ac474baad8236a9b6187685563326573e12c9ed
      https://github.com/llvm/llvm-project/commit/7ac474baad8236a9b6187685563326573e12c9ed
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2024-09-30 (Mon, 30 Sep 2024)

  Changed paths:
    M clang/utils/TableGen/ClangAttrEmitter.cpp
    M llvm/include/llvm/TableGen/Record.h
    M llvm/lib/TableGen/Record.cpp
    M llvm/lib/TableGen/TGParser.cpp
    M llvm/utils/TableGen/SearchableTableEmitter.cpp
    M mlir/tools/mlir-tblgen/OmpOpGen.cpp
    M mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp

  Log Message:
  -----------
  [LLVM][TableGen] Change SeachableTableEmitter to use const RecordKeeper (#110032)

Change SeachableTableEmitter to use const RecordKeeper.
Also change RecordRecTy to use const Record pointers for its classes.

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