[clang] [llvm] [polly] [IRBuilder] Make IRBuilder inserter non-virtual (PR #229700)
Florian Hahn via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 7 05:04:41 PDT 2026
================
@@ -118,13 +114,16 @@ class IRBuilderBase {
DebugLoc StoredDL;
protected:
+ using InsertFn = function_ref<void(const IRBuilderBase &, Instruction *,
----------------
fhahn wrote:
Can this be a function pointer instead? I think as is, the construct would accept a lambda as callback, which may be problematic.
https://github.com/llvm/llvm-project/pull/229700
More information about the cfe-commits
mailing list