[clang] [clang][bytecode] Always check for initialization in RetValue (PR #233189)

Oliver Hunt via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 18 01:03:08 PDT 2026


================
@@ -331,7 +331,7 @@ bool EvalEmitter::emitRetValue(SourceInfo Info) {
 
   if (!EvalResult.checkDynamicAllocations(S, Ptr, Info))
     return false;
-  if (CheckFullyInitialized && !EvalResult.checkFullyInitialized(S, Ptr))
----------------
ojhunt wrote:

oh, so this was a gating optimization?

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


More information about the cfe-commits mailing list