/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | SizeofExpressionCheck.cpp | 84 const auto IntegerExpr = ignoringParenImpCasts(integerLiteral()); in registerMatchers() 85 const auto ConstantExpr = expr(ignoringParenImpCasts( in registerMatchers() 88 const auto IntegerCallExpr = expr(ignoringParenImpCasts( in registerMatchers() 97 sizeOfExpr(has(ignoringParenImpCasts(expr(integerLiteral(equals(0))))))); in registerMatchers() 104 expr(sizeOfExpr(has(ignoringParenImpCasts(ConstantExpr))), in registerMatchers() 113 expr(sizeOfExpr(ignoringParenImpCasts(has(IntegerCallExpr)))) in registerMatchers() 121 expr(sizeOfExpr(has(ignoringParenImpCasts(expr(cxxThisExpr()))))) in registerMatchers() 130 hasInitializer(ignoringParenImpCasts(stringLiteral()))); in registerMatchers() 131 Finder->addMatcher(expr(sizeOfExpr(has(ignoringParenImpCasts(expr( in registerMatchers() 133 ignoringParenImpCasts(declRefExpr( in registerMatchers() [all …]
|
D | UnusedRaiiCheck.cpp | 31 unless(has(ignoringParenImpCasts(callExpr()))), in registerMatchers() 32 unless(has(ignoringParenImpCasts(objcMessageExpr())))) in registerMatchers() 40 anyOf(has(ignoringParenImpCasts(BindTemp)), in registerMatchers() 41 has(ignoringParenImpCasts(cxxFunctionalCastExpr( in registerMatchers() 42 has(ignoringParenImpCasts(BindTemp))))))) in registerMatchers()
|
D | StringConstructorCheck.cpp | 58 const auto ZeroExpr = expr(ignoringParenImpCasts(integerLiteral(equals(0)))); in registerMatchers() 59 const auto CharExpr = expr(ignoringParenImpCasts(characterLiteral())); in registerMatchers() 60 const auto NegativeExpr = expr(ignoringParenImpCasts( in registerMatchers() 63 const auto LargeLengthExpr = expr(ignoringParenImpCasts( in registerMatchers() 71 hasInitializer(ignoringParenImpCasts(BoundStringLiteral))); in registerMatchers() 75 hasInitializer(ignoringParenImpCasts(BoundStringLiteral))); in registerMatchers() 76 const auto ConstStrLiteral = expr(ignoringParenImpCasts(anyOf( in registerMatchers() 116 hasArgument(1, ignoringParenImpCasts( in registerMatchers()
|
D | SuspiciousStringCompareCheck.cpp | 106 hasTrueExpression(ignoringParenImpCasts(DirectStringCompareCallExpr)), in registerMatchers() 107 hasFalseExpression(ignoringParenImpCasts(DirectStringCompareCallExpr)))); in registerMatchers() 109 const auto StringCompareCallExpr = ignoringParenImpCasts( in registerMatchers() 130 hasUnaryOperand(ignoringParenImpCasts( in registerMatchers() 153 const auto InvalidLiteral = ignoringParenImpCasts( in registerMatchers() 157 has(ignoringParenImpCasts(integerLiteral(unless(equals(0)))))), in registerMatchers()
|
D | BoolPointerImplicitConversionCheck.cpp | 28 ignoringParenImpCasts(anyOf(declRefExpr().bind("expr"), in registerMatchers() 59 findAll(callExpr(hasAnyArgument(ignoringParenImpCasts(RefMatcher)))), in checkImpl() 63 findAll(cxxDeleteExpr(has(ignoringParenImpCasts(expr(RefMatcher))))), in checkImpl() 81 ignoringParenImpCasts(anyOf(declRefExpr(to(equalsNode(D))), in check()
|
D | MisplacedOperatorInStrlenInAllocCheck.cpp | 32 hasRHS(ignoringParenImpCasts(integerLiteral(equals(1))))) in registerMatchers() 39 hasRHS(ignoringParenImpCasts(integerLiteral(equals(1)))))), in registerMatchers() 50 hasInitializer(ignoringParenImpCasts( in registerMatchers() 54 hasInitializer(ignoringParenImpCasts( in registerMatchers()
|
D | RedundantBranchConditionCheck.cpp | 45 hasCondition(ignoringParenImpCasts(anyOf( in registerMatchers() 48 hasEitherOperand(ignoringParenImpCasts(declRefExpr( in registerMatchers() 51 ifStmt(hasCondition(ignoringParenImpCasts( in registerMatchers() 56 hasEitherOperand(ignoringParenImpCasts( in registerMatchers()
|
D | DanglingHandleCheck.cpp | 72 ignoringParenImpCasts(handleFromTemporaryValue(IsAHandle))), in makeContainerMatcher() 114 exprWithCleanups(has(ignoringParenImpCasts(ConvertedHandle))) in registerMatchersForVariables() 125 has(ignoringParenImpCasts(handleFrom( in registerMatchersForVariables() 174 returnStmt(has(exprWithCleanups(has(ignoringParenImpCasts(handleFrom( in registerMatchersForReturn()
|
D | TooSmallLoopVariableCheck.cpp | 56 ignoringParenImpCasts(declRefExpr(to(varDecl(hasType(isInteger())))))) in registerMatchers() 63 has(ignoringParenImpCasts(LoopVarMatcher))) in registerMatchers() 69 expr(ignoringParenImpCasts(allOf(hasType(isInteger()), in registerMatchers() 78 expr(ignoringParenImpCasts(hasType(isInteger()))).bind(LoopIncrementName); in registerMatchers()
|
D | SizeofContainerCheck.cpp | 22 expr(sizeOfExpr(has(ignoringParenImpCasts( in registerMatchers()
|
D | MisplacedWideningCastCheck.cpp | 38 has(ignoringParenImpCasts(Calc))); in registerMatchers() 41 has(ignoringParenImpCasts(Calc))); in registerMatchers()
|
D | IncorrectRoundingsCheck.cpp | 44 implicitCastExpr(FloatType, has(ignoringParenImpCasts(FloatHalf)))); in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | ShrinkToFitCheck.cpp | 30 unaryOperator(has(ignoringParenImpCasts(ShrinkableAsMember))), in registerMatchers() 31 unaryOperator(has(ignoringParenImpCasts(ShrinkableAsDecl)))))); in registerMatchers() 35 unaryOperator(has(ignoringParenImpCasts( in registerMatchers() 37 unaryOperator(has(ignoringParenImpCasts(declRefExpr( in registerMatchers() 45 has(ignoringParenImpCasts(memberExpr(traverse( in registerMatchers()
|
D | UseBoolLiteralsCheck.cpp | 34 has(ignoringParenImpCasts(integerLiteral().bind("literal"))), in registerMatchers() 46 eachOf(hasTrueExpression(ignoringParenImpCasts( in registerMatchers() 48 hasFalseExpression(ignoringParenImpCasts( in registerMatchers()
|
D | LoopConvertCheck.cpp | 77 return expr(ignoringParenImpCasts( in IntegerComparisonMatcher() 83 hasInitializer(ignoringParenImpCasts(integerLiteral(equals(0))))) in InitToZeroMatcher() 168 varDecl(hasInitializer(anyOf(ignoringParenImpCasts(BeginCallMatcher), in makeIteratorLoopMatcher() 170 ignoringParenImpCasts(BeginCallMatcher)), in makeIteratorLoopMatcher() 181 expr(anyOf(ignoringParenImpCasts( in makeIteratorLoopMatcher() 183 ignoringParenImpCasts(expr(EndCallMatcher).bind(EndCallName)), in makeIteratorLoopMatcher() 184 materializeTemporaryExpr(ignoringParenImpCasts( in makeIteratorLoopMatcher() 188 ignoringParenImpCasts(declRefExpr(to(varDecl().bind(ConditionVarName))))); in makeIteratorLoopMatcher() 300 expr(anyOf(ignoringParenImpCasts(expr(SizeCallMatcher).bind(EndCallName)), in makePseudoArrayLoopMatcher() 301 explicitCastExpr(hasSourceExpression(ignoringParenImpCasts( in makePseudoArrayLoopMatcher() [all …]
|
D | UseEqualsDefaultCheck.cpp | 141 returnStmt(has(ignoringParenImpCasts(unaryOperator( in isCopyAssignmentAndCanBeDefaulted() 157 compoundStmt(has(ignoringParenImpCasts(cxxMemberCallExpr( in isCopyAssignmentAndCanBeDefaulted() 188 compoundStmt(has(ignoringParenImpCasts(stmt(anyOf( in isCopyAssignmentAndCanBeDefaulted()
|
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/ |
D | StringFindStrContainsCheck.cpp | 79 hasOperands(ignoringParenImpCasts(StringNpos), in MakeRule() 80 ignoringParenImpCasts(StringFind))), in MakeRule() 85 hasOperands(ignoringParenImpCasts(StringNpos), in MakeRule() 86 ignoringParenImpCasts(StringFind))), in MakeRule()
|
D | StringFindStartswithCheck.cpp | 54 hasOperands(ignoringParenImpCasts(ZeroLiteral), in registerMatchers() 55 ignoringParenImpCasts(StringFind.bind("findexpr")))) in registerMatchers()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | LoopUnrolling.cpp | 86 hasEitherOperand(ignoringParenImpCasts(declRefExpr( in simpleCondition() 88 hasEitherOperand(ignoringParenImpCasts( in simpleCondition() 97 hasUnaryOperand(ignoringParenImpCasts( in changeIntBoundNode() 100 hasLHS(ignoringParenImpCasts( in changeIntBoundNode() 145 varDecl(allOf(hasInitializer(ignoringParenImpCasts( in forLoopMatcher() 150 hasRHS(ignoringParenImpCasts( in forLoopMatcher()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | NumberObjectConversionChecker.cpp | 200 expr(ignoringParenImpCasts( in checkASTCodeBody() 209 expr(ignoringParenImpCasts( in checkASTCodeBody() 221 expr(ignoringParenImpCasts( in checkASTCodeBody() 265 expr(ignoringParenImpCasts(expr(hasType(SuspiciousScalarTypeM)))); in checkASTCodeBody() 280 ignoringParenImpCasts( in checkASTCodeBody()
|
D | ObjCAutoreleaseWriteChecker.cpp | 185 ignoringParenImpCasts(ReferencedParamM)) in checkASTCodeBody() 191 ignoringParenImpCasts(ReferencedParamM)); in checkASTCodeBody()
|
/external/llvm-project/clang-tools-extra/clang-tidy/performance/ |
D | NoAutomaticMoveCheck.cpp | 49 ignoringElidableConstructorCall(ignoringParenImpCasts( in registerMatchers() 52 hasArgument(0, ignoringParenImpCasts(declRefExpr( in registerMatchers()
|
D | InefficientAlgorithmCheck.cpp | 43 0, cxxConstructExpr(has(ignoringParenImpCasts(cxxMemberCallExpr( in registerMatchers() 52 1, cxxConstructExpr(has(ignoringParenImpCasts(cxxMemberCallExpr( in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/misc/ |
D | StaticAssertCheck.cpp | 36 auto IsAlwaysFalseWithCast = ignoringParenImpCasts(anyOf( in registerMatchers() 37 IsAlwaysFalse, cStyleCastExpr(has(ignoringParenImpCasts(IsAlwaysFalse))) in registerMatchers() 58 anyOf(ignoringParenImpCasts(callExpr( in registerMatchers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cert/ |
D | ThrownExceptionTypeCheck.cpp | 24 cxxThrowExpr(has(ignoringParenImpCasts( in registerMatchers()
|