Skip to content

Commit 6bf6f2a

Browse files
Add explicit deduction guide to resolve CI error
1 parent 20fd3cd commit 6bf6f2a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/passes/GlobalEffects.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,14 @@ struct CallGraphSCCs
223223
}
224224
};
225225

226+
// Explicit deduction guide to resolve -Wctad-maybe-unsupported
227+
template<std::ranges::common_range Range>
228+
CallGraphSCCs(
229+
Range&&,
230+
const std::map<Function*, FuncInfo>&,
231+
const std::unordered_map<CallGraphNode, std::unordered_set<CallGraphNode>>&,
232+
const Module&) -> CallGraphSCCs<Range>;
233+
226234
// Propagate effects from callees to callers transitively
227235
// e.g. if A -> B -> C (A calls B which calls C)
228236
// Then B inherits effects from C and A inherits effects from both B and C.

0 commit comments

Comments
 (0)