[all-commits] [llvm/llvm-project] a86e96: [TableGen] Change TableGenMain to use const Record...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Tue Oct 1 06:51:30 PDT 2024


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

  Changed paths:
    M clang/utils/TableGen/TableGen.cpp
    M libc/utils/HdrGen/Main.cpp
    M llvm/include/llvm/TableGen/Main.h
    M llvm/lib/TableGen/TableGenBackendSkeleton.cpp
    M mlir/lib/Tools/mlir-tblgen/MlirTblgenMain.cpp

  Log Message:
  -----------
  [TableGen] Change TableGenMain to use const RecordKeeper (#110578)

Change TableGenMain's `MainFn` argument to be a function that accepts a
const reference to RecordKeeper.

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