Fznamznon wrote: > That makes sense. I think the cleaner way of handling it is probably to just > fit it into the existing lazy-emission system, DeferredDeclsToEmit
I've tried to do that. Thanks for the suggestion. I also added a test with a self referential initializer, which with the previous patch crashed due to endless recursion. https://github.com/llvm/llvm-project/pull/156933 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits