================
@@ -25,22 +25,25 @@ void RedundantTypenameCheck::registerMatchers(MatchFinder
*Finder) {
if (!getLangOpts().CPlusPlus20)
return;
- const auto InImplicitTypenameContext = anyOf(
- hasParent(decl(anyOf(
- typedefNameDecl(), templateTypeParmDecl(), nonTypeTemplateParmDecl(),
- friendDecl(), fieldDecl(),
- varDecl(hasDeclContext(anyOf(namespaceDecl(),
translationUnitDecl())),
- unless(parmVarDecl())),
----------------
zwuis wrote:
I ran into an issue that it is not supported to use `DynTypedNode` storing
`TemplateArgumentLoc` as key of `DenseMap`. It takes time to fix and **review**
so I'd suggest backporting this PR if needed.
https://github.com/llvm/llvm-project/pull/175473
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits