We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e362cd commit b7a23d9Copy full SHA for b7a23d9
clang-tools-extra/clang-tidy/readability/RedundantTypenameCheck.cpp
@@ -32,6 +32,7 @@ void RedundantTypenameCheck::registerMatchers(MatchFinder *Finder) {
32
hasParent(typedefNameDecl()), hasParent(templateTypeParmDecl()),
33
hasParent(nonTypeTemplateParmDecl()), hasParent(cxxNamedCastExpr()),
34
hasParent(cxxNewExpr()), hasParent(friendDecl()), hasParent(fieldDecl()),
35
+ hasParent(varDecl(unless(hasDeclContext(functionDecl())))),
36
hasParent(parmVarDecl(hasParent(expr(requiresExpr())))),
37
hasParent(parmVarDecl(hasParent(typeLoc(hasParent(
38
namedDecl(anyOf(cxxMethodDecl(), hasParent(friendDecl()),
0 commit comments