[clang] [clang][bytecode] Fix DefaultInitExpr base pointer in IndirectFieldDecls (PR #193149)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Tue May 5 22:07:26 PDT 2026


================
@@ -6838,6 +6840,8 @@ bool Compiler<Emitter>::compileConstructor(const CXXConstructorDecl *Ctor) {
           return false;
       }
 
+      InitStack.pop_back_n(ChainSize - 1);
----------------
shafik wrote:

Interesting, `InitStackScope` is also manipulating `InitStack` but it is not obvious to me who is using `InitStack` between the push_back's, the `InitStackScope` and pop_back_n.

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


More information about the cfe-commits mailing list