[llvm] [TableGen] Allow emitter callbacks to use `const RecordKeeper &` (PR #104716)
Rahul Joshi via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 23 06:04:57 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 {
----------------
jurahul wrote:
This is needed now because of its use in `cl::OptionValueCopy<FnT>`, which uses the `==` operator.
https://github.com/llvm/llvm-project/pull/104716
More information about the llvm-commits
mailing list