[clang] [clang][bytecode] Stop relying on `CheckEvaluationResult()` (PR #186045)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 14 06:33:33 PDT 2026


================
@@ -5057,8 +5057,17 @@ const Function *Compiler<Emitter>::getFunction(const FunctionDecl *FD) {
 
 template <class Emitter>
 bool Compiler<Emitter>::visitExpr(const Expr *E, bool DestroyToplevelScope) {
+  if (E->getType().isNull())
----------------
erichkeane wrote:

When do we have an expression that itself is valid, but with a null type? 

https://github.com/llvm/llvm-project/pull/186045


More information about the cfe-commits mailing list