================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to