================
@@ -1090,9 +1081,12 @@ void FactsGenerator::handleLifetimeCaptureBy(const
FunctionDecl *FD,
}
void FactsGenerator::handleFunctionCall(const Expr *Call,
- const FunctionDecl *FD,
- ArrayRef<const Expr *> Args,
bool IsGslConstruction) {
+ FunctionCallInfo CallInfo(Call);
+ if (!CallInfo.FD)
+ return;
+ const FunctionDecl *FD = CallInfo.FD;
+ llvm::ArrayRef<const Expr *> Args = CallInfo.Args;
----------------
NeKon69 wrote:
Oh, huh, didn't know about this well IIRC all llvm projects are compiled with
C++20, let's keep this one as is then. The one below should still be able to do
that though, right?
https://github.com/llvm/llvm-project/pull/217838
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits