Home
last modified time | relevance | path

Searched refs:parameterCountIs (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DTypePromotionInMathFnCheck.cpp71 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 DSpuriouslyWakeUpFunctionsCheck.cpp33 parameterCountIs(1)))))), in registerMatchers()
40 parameterCountIs(2)))))), in registerMatchers()
47 parameterCountIs(2)))))), in registerMatchers()
H A DSmartPtrArrayMismatchCheck.cpp65 parameterCountIs(1), isExplicit()) in registerMatchers()
H A DSuspiciousMemsetUsageCheck.cpp27 parameterCountIs(3), in registerMatchers()
H A DSignalHandlerCheck.cpp325 parameterCountIs(2), isStandardFunction()); in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/
H A DOverloadedUnaryAndCheck.cpp25 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 DLimitedRandomnessCheck.cpp21 parameterCountIs(0)))) in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseEqualsDefaultCheck.cpp227 parameterCountIs(0)), in registerMatchers()
233 parameterCountIs(1)))) in registerMatchers()
H A DRedundantVoidArgCheck.cpp44 Finder->addMatcher(functionDecl(parameterCountIs(0), unless(isImplicit()), in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/abseil/
H A DStringFindStrContainsCheck.cpp55 hasName("find"), parameterCountIs(2), in makeRewriteRule()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DContainerSizeEmptyCheck.cpp102 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 DASTSrcLocProcessor.cpp147 return cxxMethodDecl(isPublic(), parameterCountIs(0), isConst(), in CaptureMethods()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp630 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 DASTMatchersNarrowingTest.cpp1661 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 DASTMatchersTraversalTest.cpp269 cxxNewExpr(hasDeclaration(functionDecl(parameterCountIs(1)))))); in TEST()
5112 functionDecl(parameterCountIs(1))))), in TEST()
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp519 REGISTER_MATCHER(parameterCountIs); in RegistryMaps()
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterTest.cpp1322 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 DASTMatchers.h5039 AST_POLYMORPHIC_MATCHER_P(parameterCountIs, in AST_POLYMORPHIC_MATCHER_P() argument