/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | StringConstructorCheck.cpp | 85 hasArgument(0, hasType(qualType(isInteger()))), in registerMatchers() 86 hasArgument(1, hasType(qualType(isInteger()))), in registerMatchers() 89 hasArgument(0, CharExpr.bind("swapped-parameter")), in registerMatchers() 91 hasArgument(0, ZeroExpr.bind("empty-string")), in registerMatchers() 93 hasArgument(0, NegativeExpr.bind("negative-length")), in registerMatchers() 95 hasArgument(0, LargeLengthExpr.bind("large-length")))) in registerMatchers() 105 hasArgument(0, hasType(CharPtrType)), in registerMatchers() 106 hasArgument(1, hasType(isInteger())), in registerMatchers() 109 hasArgument(1, ZeroExpr.bind("empty-string")), in registerMatchers() 111 hasArgument(1, NegativeExpr.bind("negative-length")), in registerMatchers() [all …]
|
D | SuspiciousMemsetUsageCheck.cpp | 36 hasArgument(1, characterLiteral(equals(static_cast<unsigned>('0'))) in registerMatchers() 39 eachOf(hasArgument(0, anyOf(hasType(pointsTo(isAnyCharacter())), in registerMatchers() 48 hasArgument(1, integerLiteral().bind("num-fill")), in registerMatchers() 55 unless(hasArgument(1, anyOf(characterLiteral(equals( in registerMatchers()
|
D | NoEscapeCheck.cpp | 22 hasArgument(1, blockExpr().bind("arg-block"))), in registerMatchers() 26 hasArgument(2, blockExpr().bind("arg-block"))), in registerMatchers()
|
D | UndefinedMemoryManipulationCheck.cpp | 35 hasArgument(0, NotTriviallyCopyableObject)) in registerMatchers() 43 hasArgument(1, NotTriviallyCopyableObject)) in registerMatchers()
|
D | StringLiteralWithEmbeddedNulCheck.cpp | 48 hasArgument(1, cxxDefaultArgExpr())))); in registerMatchers() 53 cxxConstructExpr(StringConstructorExpr, hasArgument(0, StrLitWithNul))), in registerMatchers()
|
D | InaccurateEraseCheck.cpp | 24 hasArgument( in registerMatchers() 40 hasArgument(0, has(ignoringImplicit(anyOf( in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | RedundantStringCStrCheck.cpp | 87 hasArgument(1, cxxDefaultArgExpr())))); in registerMatchers() 104 StringConstructorExpr, hasArgument(0, StringCStrCallExpr), in registerMatchers() 113 anyOf(allOf(hasArgument(0, StringExpr), in registerMatchers() 114 hasArgument(1, StringCStrCallExpr)), in registerMatchers() 115 allOf(hasArgument(0, StringCStrCallExpr), in registerMatchers() 116 hasArgument(1, StringExpr)))), in registerMatchers() 123 hasArgument(0, StringExpr), in registerMatchers() 124 hasArgument(1, StringCStrCallExpr)), in registerMatchers() 131 argumentCountIs(1), hasArgument(0, StringCStrCallExpr)), in registerMatchers() 138 argumentCountIs(3), hasArgument(2, StringCStrCallExpr)), in registerMatchers() [all …]
|
D | ContainerSizeEmptyCheck.cpp | 91 anyOf(allOf(hasArgument(0, WrongComparend), hasArgument(1, STLArg)), in registerMatchers() 92 allOf(hasArgument(0, STLArg), hasArgument(1, WrongComparend))), in registerMatchers()
|
D | RedundantStringInitCheck.cpp | 87 hasArgument(1, cxxDefaultArgExpr())))); in registerMatchers() 92 hasArgument(0, ignoringParenImpCasts(stringLiteral(hasSize(0))))); in registerMatchers() 96 hasArgument(0, ignoringImplicit(EmptyStringCtorExpr))); in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/ |
D | DurationUnnecessaryConversionCheck.cpp | 35 hasArgument(0, ignoringImpCasts(integerLiteral(equals(1)))))); in registerMatchers() 41 hasArgument(0, expr().bind("arg"))); in registerMatchers() 46 hasOverloadedOperatorName("/"), hasArgument(0, expr().bind("arg")), in registerMatchers() 47 hasArgument(1, factory_matcher)); in registerMatchers() 53 hasArgument(0, expr().bind("arg")), hasArgument(1, factory_matcher)); in registerMatchers() 62 hasArgument(0, expr().bind("arg"))) in registerMatchers() 68 hasArgument(0, anyOf(inverse_function_matcher, in registerMatchers()
|
D | UpgradeDurationConversionsCheck.cpp | 35 hasArgument( in registerMatchers() 37 hasArgument(1, expr().bind("arg")), in registerMatchers() 54 argumentCountIs(1), hasArgument(0, expr().bind("arg"))) in registerMatchers() 67 hasArgument(0, expr(hasType( in registerMatchers() 69 hasArgument(1, expr().bind("arg"))) in registerMatchers() 80 argumentCountIs(2), hasArgument(0, expr().bind("arg")), in registerMatchers() 81 hasArgument(1, expr(hasType( in registerMatchers() 112 hasArgument(0, expr().bind("arg"))))) in registerMatchers()
|
D | StrCatAppendCheck.cpp | 50 hasArgument(0, ignoringImpCasts(declRefExpr(to(equalsBoundNode("LHS")), in registerMatchers() 65 hasArgument(0, declRefExpr(to(decl().bind("LHS")))), in registerMatchers() 66 hasArgument( in registerMatchers() 68 callExpr(callee(StrCat), hasArgument(0, AlphaNum), in registerMatchers()
|
D | FasterStrsplitDelimiterCheck.cpp | 68 hasArgument(0, ignoringParenImpCasts(SingleChar))))); in registerMatchers() 76 hasArgument(0, StringViewArg)))))))) in registerMatchers() 84 hasArgument(1, anyOf(ByAnyCharArg, SingleChar)), in registerMatchers() 95 hasArgument(0, anyOf(ByAnyCharArg, in registerMatchers()
|
D | StringFindStrContainsCheck.cpp | 72 on(hasType(StringType)), hasArgument(0, expr().bind("parameter_to_find")), in MakeRule() 73 anyOf(hasArgument(1, integerLiteral(equals(0))), in MakeRule() 74 hasArgument(1, cxxDefaultArgExpr())), in MakeRule()
|
D | StringFindStartswithCheck.cpp | 46 hasArgument(0, expr().bind("needle")), in registerMatchers() 48 anyOf(hasArgument(1, ZeroLiteral), hasArgument(1, cxxDefaultArgExpr()))); in registerMatchers()
|
D | DurationDivisionCheck.cpp | 28 hasArgument(0, DurationExpr), in registerMatchers() 29 hasArgument(1, DurationExpr)) in registerMatchers()
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/ |
D | UOption.java | 54 int hasArgument) { in create() argument 55 return new UOption(aLongName, aShortName, hasArgument); in create() 64 int hasArgument) { in DEF() argument 65 return create(aLongName, aShortName, hasArgument); in DEF() 265 int hasArgument) { in UOption() argument 268 hasArg = hasArgument; in UOption()
|
/external/llvm-project/clang/lib/ASTMatchers/ |
D | GtestMatchers.cpp | 93 hasArgument(2, Left), hasArgument(3, Right)); in gtestAssert() 100 hasArgument(2, Left), hasArgument(3, Right)); in gtestExpect()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | ReplaceRandomShuffleCheck.cpp | 31 const auto Begin = hasArgument(0, expr()); in registerMatchers() 32 const auto End = hasArgument(1, expr()); in registerMatchers() 33 const auto RandomFunc = hasArgument(2, expr().bind("randomFunc")); in registerMatchers()
|
D | UseEqualsDefaultCheck.cpp | 87 hasArgument(0, declRefExpr(to(varDecl( in isCopyConstructorAndCanBeDefaulted() 110 hasArgument(0, AccessToFieldInParam)))))))), in isCopyConstructorAndCanBeDefaulted() 170 hasArgument(0, declRefExpr(to(varDecl( in isCopyAssignmentAndCanBeDefaulted() 193 hasArgument(0, LHS), hasArgument(1, RHS)))))))), in isCopyAssignmentAndCanBeDefaulted()
|
/external/llvm-project/clang/unittests/Tooling/ |
D | RangeSelectorTest.cpp | 260 auto Matcher = callExpr(hasArgument(0, expr().bind("a0")), in TEST() 261 hasArgument(1, expr().bind("a1"))); in TEST() 272 auto Matcher = callExpr(hasArgument(0, expr().bind("a0")), in TEST() 273 hasArgument(1, expr().bind("a1"))); in TEST() 286 auto Matcher = callExpr(hasArgument(0, expr().bind("a0")), in TEST() 287 hasArgument(1, expr().bind("a1"))); in TEST() 298 auto Matcher = callExpr(hasArgument(0, expr().bind("a0")), in TEST() 299 hasArgument(1, expr().bind("a1"))); in TEST() 310 auto Matcher = callExpr(hasArgument(0, expr().bind("a0")), in TEST() 311 hasArgument(1, expr().bind("a1"))); in TEST() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/cert/ |
D | NonTrivialTypesLibcMemoryCallsCheck.cpp | 102 hasArgument(0, IsStructPointer(RecordConstraint, true)), in registerMatchers() 103 hasArgument(1, SecondArg), hasArgument(2, IsRecordSizeOf)); in registerMatchers()
|
D | MutatingCopyCheck.cpp | 37 hasArgument(0, IsPartOfSource)) in registerMatchers() 48 hasArgument(0, IsPartOfSelf)))); in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/performance/ |
D | InefficientAlgorithmCheck.cpp | 42 hasArgument( in registerMatchers() 51 hasArgument( in registerMatchers() 56 hasArgument(2, expr().bind("AlgParam")), in registerMatchers()
|
D | InefficientStringConcatenationCheck.cpp | 48 hasArgument(0, declRefExpr(BasicStringType, in registerMatchers() 51 hasArgument(1, stmt(hasDescendant(declRefExpr( in registerMatchers()
|