[llvm] [TableGen] Allow emitter callbacks to use `const RecordKeeper &` (PR #104716)

Pierre van Houtryve via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 23 04:10:23 PDT 2024


" + sys::path::filename(Record.getInputFilename()),"
In-Reply-To: <llvm.org/llvm/llvm-project/pull/104716 at github.com>


================
@@ -69,6 +69,10 @@ class function_ref<Ret(Params...)> {
   }
 
   explicit operator bool() const { return callback; }
+
+  bool operator==(const function_ref<Ret(Params...)> &Other) const {
----------------
Pierre-vh wrote:

Why is this needed now?

https://github.com/llvm/llvm-project/pull/104716


More information about the llvm-commits mailing list