================
@@ -415,6 +415,16 @@ class ResultBuilder {
bool IsImpossibleToSatisfy(const NamedDecl *ND) const;
//@}
};
+
+const FunctionDecl *BetterSingature(const FunctionDecl *Function,
+ unsigned Start) {
+ // Note that `redecls()` traverses from last to first declaration.
+ for (auto *Redecl : Function->redecls())
+ for (unsigned P = Start, N = Function->getNumParams(); P != N; ++P)
----------------
timon-ul wrote:
Yeah I like that.
https://github.com/llvm/llvm-project/pull/206716
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits