| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | TypePromotionInMathFnCheck.cpp | 71 callExpr(callee(functionDecl(OneDoubleArgFns, parameterCountIs(1), in registerMatchers() 82 callExpr(callee(functionDecl(TwoDoubleArgFns, parameterCountIs(2), in registerMatchers() 91 callExpr(callee(functionDecl(hasName("::fma"), parameterCountIs(3), in registerMatchers() 103 hasName("::frexp"), parameterCountIs(2), in registerMatchers() 114 callExpr(callee(functionDecl(hasName("::nexttoward"), parameterCountIs(2), in registerMatchers() 126 hasName("::remquo"), parameterCountIs(3), in registerMatchers() 136 callExpr(callee(functionDecl(hasName("::scalbln"), parameterCountIs(2), in registerMatchers() 145 callExpr(callee(functionDecl(hasName("::scalbn"), parameterCountIs(2), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | SpuriouslyWakeUpFunctionsCheck.cpp | 33 parameterCountIs(1)))))), in registerMatchers() 40 parameterCountIs(2)))))), in registerMatchers() 47 parameterCountIs(2)))))), in registerMatchers()
|
| H A D | SmartPtrArrayMismatchCheck.cpp | 65 parameterCountIs(1), isExplicit()) in registerMatchers()
|
| H A D | SuspiciousMemsetUsageCheck.cpp | 27 parameterCountIs(3), in registerMatchers()
|
| H A D | SignalHandlerCheck.cpp | 325 parameterCountIs(2), isStandardFunction()); in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/ |
| H A D | OverloadedUnaryAndCheck.cpp | 25 cxxMethodDecl(parameterCountIs(0), hasOverloadedOperatorName("&")) in registerMatchers() 30 Finder->addMatcher(functionDecl(unless(cxxMethodDecl()), parameterCountIs(1), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cert/ |
| H A D | LimitedRandomnessCheck.cpp | 21 parameterCountIs(0)))) in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseEqualsDefaultCheck.cpp | 227 parameterCountIs(0)), in registerMatchers() 233 parameterCountIs(1)))) in registerMatchers()
|
| H A D | RedundantVoidArgCheck.cpp | 44 Finder->addMatcher(functionDecl(parameterCountIs(0), unless(isImplicit()), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/abseil/ |
| H A D | StringFindStrContainsCheck.cpp | 55 hasName("find"), parameterCountIs(2), in makeRewriteRule()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | ContainerSizeEmptyCheck.cpp | 102 has(cxxMethodDecl(isConst(), parameterCountIs(0), isPublic(), in registerMatchers() 107 has(cxxMethodDecl(isConst(), parameterCountIs(0), isPublic(), in registerMatchers()
|
| /llvm-project-15.0.7/clang/lib/Tooling/DumpTool/ |
| H A D | ASTSrcLocProcessor.cpp | 147 return cxxMethodDecl(isPublic(), parameterCountIs(0), isConst(), in CaptureMethods()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersNodeTest.cpp | 630 EXPECT_TRUE(matches("void f(int, ...);", functionDecl(parameterCountIs(1)))); in TEST_P() 638 EXPECT_TRUE(matches("void f();", functionDecl(parameterCountIs(0)))); in TEST_P() 668 EXPECT_TRUE(matches("void f(...);", functionDecl(parameterCountIs(0)))); in TEST_P() 1637 EXPECT_TRUE(matches("void f(void);", functionProtoType(parameterCountIs(0)))); in TEST_P() 1651 EXPECT_TRUE(matches("void f();", functionProtoType(parameterCountIs(0)))); in TEST_P()
|
| H A D | ASTMatchersNarrowingTest.cpp | 1661 DeclarationMatcher Function1Arg = functionDecl(parameterCountIs(1)); in TEST_P() 1673 DeclarationMatcher Function1Arg = functionDecl(parameterCountIs(1)); in TEST_P() 2394 cxxConstructorDecl(isDelegatingConstructor(), parameterCountIs(0)))); in TEST_P() 2397 cxxConstructorDecl(isDelegatingConstructor(), parameterCountIs(1)))); in TEST_P()
|
| H A D | ASTMatchersTraversalTest.cpp | 269 cxxNewExpr(hasDeclaration(functionDecl(parameterCountIs(1)))))); in TEST() 5112 functionDecl(parameterCountIs(1))))), in TEST()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 519 REGISTER_MATCHER(parameterCountIs); in RegistryMaps()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterTest.cpp | 1322 parameterCountIs(2), in TEST_P() 7352 parameterCountIs(2))); in TEST_P() 7418 parameterCountIs(2))); in TEST_P() 7532 functionDecl(hasName("f"), parameterCountIs(0))))); in TEST_P() 7535 functionDecl(hasName("f"), parameterCountIs(1))))); in TEST_P()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 5039 AST_POLYMORPHIC_MATCHER_P(parameterCountIs, in AST_POLYMORPHIC_MATCHER_P() argument
|