================ @@ -71,6 +72,10 @@ void UnusedUsingDeclsCheck::registerMatchers(MatchFinder *Finder) { templateArgument().bind("used")))), this); Finder->addMatcher(userDefinedLiteral().bind("used"), this); + Finder->addMatcher( + elaboratedType(unless(hasQualifier(nestedNameSpecifier())), + hasUnqualifiedDesugaredType(type().bind("usedType"))), ---------------- PiotrZSL wrote:
```suggestion loc(elaboratedType(unless(hasQualifier(nestedNameSpecifier())), hasUnqualifiedDesugaredType(type().bind("usedType")))), ``` To avoid matching too much. https://github.com/llvm/llvm-project/pull/70230 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits