[clang-tools-extra] [include-cleaner] Respect the UsingShadowDecl when find headers for ambiguous std symbols. (PR #66485)

kadir çetinkaya via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 22 02:38:20 PDT 2023


================
@@ -587,6 +588,36 @@ TEST_F(HeadersForSymbolTest, AmbiguousStdSymbols) {
   }
 }
 
+TEST_F(HeadersForSymbolTest, AmbiguousStdSymbolsUsingShadow) {
----------------
kadircet wrote:

might be easier to test this in AnalysisTest, rather than writing a new ASTVisitor, but up to you.

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


More information about the cfe-commits mailing list