================
@@ -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;
----------------
iitianpushkar wrote:
Yes, the below code will not have such issue. Will implement this there.
https://github.com/llvm/llvm-project/pull/217838
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits