https://github.com/Jinjie-Huang approved this pull request.
To some extent, it was designed that way on purpose so that we could check the shadowing semantics for every #include written by developers and warn at every single IncludeLoc. But it does seem a bit annoying to spam the same warning for the same file repeatedly in the same source file. So, I agree with adding a cache here. https://github.com/llvm/llvm-project/pull/216748 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
