diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2024-04-20 15:29:46 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-04-20 15:36:58 +0300 |
commit | fcb4df001346848090dc4a8c3c239d46f2d59aa1 (patch) | |
tree | 197ebdfbf5f7f8e1e6f94aecac88d7117340ad3a /library/cpp/clang_tidy/arcadia_checks/usage_restriction_checks.cpp | |
parent | cad8deff713d457d070cd132d39847fe784887de (diff) | |
download | ydb-fcb4df001346848090dc4a8c3c239d46f2d59aa1.tar.gz |
Intermediate changes
Diffstat (limited to 'library/cpp/clang_tidy/arcadia_checks/usage_restriction_checks.cpp')
-rw-r--r-- | library/cpp/clang_tidy/arcadia_checks/usage_restriction_checks.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/clang_tidy/arcadia_checks/usage_restriction_checks.cpp b/library/cpp/clang_tidy/arcadia_checks/usage_restriction_checks.cpp index bc825fa18f..b453008807 100644 --- a/library/cpp/clang_tidy/arcadia_checks/usage_restriction_checks.cpp +++ b/library/cpp/clang_tidy/arcadia_checks/usage_restriction_checks.cpp @@ -7,10 +7,10 @@ using namespace clang::ast_matchers; namespace clang::tidy::arcadia { void TypeidNameRestrictionCheck::registerMatchers(MatchFinder* Finder) { Finder->addMatcher(cxxMemberCallExpr(on(expr(hasType(namedDecl(hasName("::std::type_info")))).bind("expr")), - callee(cxxMethodDecl(allOf(hasName("name"), parameterCountIs(0))))), + callee(cxxMethodDecl(hasName("name"), parameterCountIs(0)))), this); Finder->addMatcher(cxxMemberCallExpr(on(expr(hasType(namedDecl(hasName("::std::type_index")))).bind("expr")), - callee(cxxMethodDecl(allOf(hasName("name"), parameterCountIs(0))))), + callee(cxxMethodDecl(hasName("name"), parameterCountIs(0)))), this); } |