martong marked an inline comment as done. martong added a comment. > I was thinking about to create a separate ASTImporter implementation > specifically for CTU and LLDB could have it's own implementation. For that we > just need to create an interface class with virtual functions.
One implementation could reside in libCrossTU and the other in LLDB. At least, that's what I thought. Unfortunately there is an obstacle which renders this whole idea practically unfeasible: Currently ASTImporter and ASTNodeImporter are `friend`s of almost all AST classes. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D92209/new/ https://reviews.llvm.org/D92209 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits