[clang] [C++20] [Modules] Introduce a tool 'clang-named-modules-querier' and two plugins 'ClangGetUsedFilesFromModulesPlugin' and 'ClangGetDeclsInModulesPlugin' (PR #72956)

David Blaikie via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 21 11:15:14 PST 2023


dwblaikie wrote:

I'm still really hesitant about this direction.

One starting concern: what happens if someone adds an overload, or other interesting name resolution to the module? The downstream caller hasn't textually changed, but it should be rebuilt because it should be calling a different overload candidate now? (& even if we then track every function with the same name, there's other cases - like adding an implicit conversion operator, operator overload, etc, that might complicate things)

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


More information about the cfe-commits mailing list