[PATCH] D158733: [Clang] Fix a crash when an invalid immediate function call appears in a cast

Erich Keane via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 24 07:28:55 PDT 2023


erichkeane accepted this revision.
erichkeane added a comment.
This revision is now accepted and ready to land.

1 nit that the build bots caught, else I'm happy.



================
Comment at: clang/lib/Sema/SemaExpr.cpp:18364
+
+    assert(FD && FD->isImmediateFunction &&
+           "could not find an immediate function in this expression");
----------------



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158733/new/

https://reviews.llvm.org/D158733



More information about the cfe-commits mailing list