Home
last modified time | relevance | path

Searched refs:argumentCountIs (Results 1 – 25 of 37) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DRedundantStringCStrCheck.cpp80 cxxConstructExpr(argumentCountIs(1), in registerMatchers()
83 argumentCountIs(2), in registerMatchers()
131 argumentCountIs(1), hasArgument(0, StringCStrCallExpr)), in registerMatchers()
138 argumentCountIs(3), hasArgument(2, StringCStrCallExpr)), in registerMatchers()
147 anyOf(argumentCountIs(1), argumentCountIs(2)), in registerMatchers()
155 argumentCountIs(2), hasArgument(1, StringCStrCallExpr)), in registerMatchers()
169 argumentCountIs(1), in registerMatchers()
DRedundantStringInitCheck.cpp81 anyOf(cxxConstructExpr(argumentCountIs(1), in registerMatchers()
85 cxxConstructExpr(argumentCountIs(2), in registerMatchers()
DStringCompareCheck.cpp30 hasArgument(0, expr().bind("str2")), argumentCountIs(1), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DFoldInitTypeCheck.cpp45 argumentCountIs(3)) in registerMatchers()
54 argumentCountIs(4)) in registerMatchers()
62 argumentCountIs(4)) in registerMatchers()
71 argumentCountIs(5)) in registerMatchers()
DNoEscapeCheck.cpp21 argumentCountIs(2), in registerMatchers()
25 argumentCountIs(3), in registerMatchers()
DStringLiteralWithEmbeddedNulCheck.cpp42 cxxConstructExpr(argumentCountIs(1), in registerMatchers()
46 cxxConstructExpr(argumentCountIs(2), in registerMatchers()
DBadSignalToKillThreadCheck.cpp23 argumentCountIs(2)), in registerMatchers()
DInaccurateEraseCheck.cpp39 callee(cxxMethodDecl(hasName("erase"))), argumentCountIs(1), in registerMatchers()
DUnhandledSelfAssignmentCheck.cpp47 hasAnyOverloadedOperatorName("==", "!="), argumentCountIs(2), in registerMatchers()
DMoveForwardingReferenceCheck.cpp85 argumentCountIs(1), in registerMatchers()
DStringConstructorCheck.cpp133 argumentCountIs(1))) in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/
DUpgradeDurationConversionsCheck.cpp34 argumentCountIs(2), in registerMatchers()
54 argumentCountIs(1), hasArgument(0, expr().bind("arg"))) in registerMatchers()
66 argumentCountIs(2), in registerMatchers()
80 argumentCountIs(2), hasArgument(0, expr().bind("arg")), in registerMatchers()
DStrCatAppendCheck.cpp49 argumentCountIs(1), hasType(cxxRecordDecl(hasName("::absl::AlphaNum"))), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseEqualsDefaultCheck.cpp86 argumentCountIs(1), in isCopyConstructorAndCanBeDefaulted()
109 argumentCountIs(1), in isCopyConstructorAndCanBeDefaulted()
169 argumentCountIs(1), in isCopyAssignmentAndCanBeDefaulted()
192 hasOverloadedOperatorName("="), argumentCountIs(2), in isCopyAssignmentAndCanBeDefaulted()
DReplaceRandomShuffleCheck.cpp38 anyOf(allOf(Begin, End, argumentCountIs(2)), in registerMatchers()
39 allOf(Begin, End, RandomFunc, argumentCountIs(3))), in registerMatchers()
DReplaceAutoPtrCheck.cpp92 cxxConstructExpr(hasType(AutoPtrType), argumentCountIs(1), in registerMatchers()
DLoopConvertCheck.cpp163 cxxMemberCallExpr(argumentCountIs(0), in makeIteratorLoopMatcher()
178 argumentCountIs(0), callee(cxxMethodDecl(EndNameMatcher))); in makeIteratorLoopMatcher()
191 cxxOperatorCallExpr(hasOverloadedOperatorName("!="), argumentCountIs(2), in makeIteratorLoopMatcher()
295 argumentCountIs(0), callee(cxxMethodDecl(hasAnyName("size", "length"))), in makePseudoArrayLoopMatcher()
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DFasterStringFindCheck.cpp72 anyOf(argumentCountIs(1), argumentCountIs(2)), in registerMatchers()
DMoveConstArgCheck.cpp44 callExpr(callee(functionDecl(hasName("::std::move"))), argumentCountIs(1), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/cert/
DCommandProcessorCheck.cpp28 argumentCountIs(1), in registerMatchers()
DNonTrivialTypesLibcMemoryCallsCheck.cpp101 return allOf(argumentCountIs(3), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/boost/
DUseToStringCheck.cpp35 argumentCountIs(1), unless(isInTemplateInstantiation())) in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DUnconventionalAssignOperatorCheck.cpp56 cxxOperatorCallExpr(argumentCountIs(1), in registerMatchers()
/external/llvm-project/clang/unittests/Tooling/
DStencilTest.cpp447 argumentCountIs(1), in TEST_F()
474 callee(functionDecl(hasName("foo"))), argumentCountIs(1), in TEST_F()
489 argumentCountIs(1), in TEST_F()
/external/llvm-project/clang/lib/Analysis/
DExprMutationAnalyzer.cpp315 argumentCountIs(1), hasArgument(0, canResolveToExpr(equalsNode(Exp)))); in findDirectMutation()
513 argumentCountIs(1), in findReferenceMutation()

12