jansvoboda11 wrote: > @cyndyishida > In the future, do you think a similar approach could cover predefined decls, > like ObjC's `Protocol`?
Predefined decls are created lazily on `ASTContext` and `ASTWriter` ignores them if they weren't created. AFAICT `ASTReader` preserves this laziness. However, `Sema::Initialize()` seems to be quite eager on all of these, so that's the place to look for a fix I think. https://github.com/llvm/llvm-project/pull/243274 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
