[llvm] [TableGen] Change backend callback to require const RecordKeeper (PR #111064)
Rahul Joshi via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 4 05:53:57 PDT 2024
================
@@ -23,8 +23,7 @@ class RecordKeeper;
class raw_ostream;
namespace TableGen::Emitter {
-// Supports const and non-const forms of callback functions.
-using FnT = function_ref<void(RecordKeeper &Records, raw_ostream &OS)>;
+using FnT = void (*)(const RecordKeeper &Records, raw_ostream &OS);
----------------
jurahul wrote:
Done.
https://github.com/llvm/llvm-project/pull/111064
More information about the llvm-commits
mailing list