From b3cae4abba593397ebb9ea9623d45d9953fb788c Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Sat, 12 Oct 2024 21:26:45 +0300 Subject: [PATCH] Update lib/Differentiator/ConstantFolder.cpp --- lib/Differentiator/ConstantFolder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Differentiator/ConstantFolder.cpp b/lib/Differentiator/ConstantFolder.cpp index e75b918ad..900e87a90 100644 --- a/lib/Differentiator/ConstantFolder.cpp +++ b/lib/Differentiator/ConstantFolder.cpp @@ -150,7 +150,7 @@ namespace clad { SourceLocation noLoc; Expr* cast = CXXStaticCastExpr::Create( C, QT, CLAD_COMPAT_ExprValueKind_R_or_PR_Value, - clang::CastKind::CK_IntegralCast, Result, nullptr, + clang::CastKind::CK_IntegralCast, Result, /*CXXCastPath=*/nullptr, C.getTrivialTypeSourceInfo(QT, noLoc) CLAD_COMPAT_CLANG12_CastExpr_DefaultFPO, noLoc, noLoc, SourceRange());