[clang] [clang][bytecode] Always check for initialization in RetValue (PR #233189)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 18 06:25:15 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))
----------------
tbaederr wrote:
Not an optimization IIRC but the normal `Ret<PT_Ptr>` path needs the condition so I used it here as well.
https://github.com/llvm/llvm-project/pull/233189
More information about the cfe-commits
mailing list