[clang] [clang]Avoid diagnose invalid consteval call for invalid function decl (PR #68646)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 9 18:50:02 PDT 2023
================
@@ -18406,9 +18406,10 @@ static void EvaluateAndDiagnoseImmediateInvocation(
FD = Call->getConstructor();
else if (auto *Cast = dyn_cast<CastExpr>(InnerExpr))
FD = dyn_cast_or_null<FunctionDecl>(Cast->getConversionFunction());
-
----------------
erichkeane wrote:
Unrelated change.
https://github.com/llvm/llvm-project/pull/68646
More information about the cfe-commits
mailing list