Home
last modified time | relevance | path

Searched refs:ignoringParenImpCasts (Results 1 – 25 of 64) sorted by relevance

123

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DSizeofExpressionCheck.cpp84 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 …]
DUnusedRaiiCheck.cpp31 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()
DStringConstructorCheck.cpp58 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()
DSuspiciousStringCompareCheck.cpp106 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()
DBoolPointerImplicitConversionCheck.cpp28 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()
DMisplacedOperatorInStrlenInAllocCheck.cpp32 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()
DRedundantBranchConditionCheck.cpp45 hasCondition(ignoringParenImpCasts(anyOf( in registerMatchers()
48 hasEitherOperand(ignoringParenImpCasts(declRefExpr( in registerMatchers()
51 ifStmt(hasCondition(ignoringParenImpCasts( in registerMatchers()
56 hasEitherOperand(ignoringParenImpCasts( in registerMatchers()
DDanglingHandleCheck.cpp72 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()
DTooSmallLoopVariableCheck.cpp56 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()
DSizeofContainerCheck.cpp22 expr(sizeOfExpr(has(ignoringParenImpCasts( in registerMatchers()
DMisplacedWideningCastCheck.cpp38 has(ignoringParenImpCasts(Calc))); in registerMatchers()
41 has(ignoringParenImpCasts(Calc))); in registerMatchers()
DIncorrectRoundingsCheck.cpp44 implicitCastExpr(FloatType, has(ignoringParenImpCasts(FloatHalf)))); in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DShrinkToFitCheck.cpp30 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()
DUseBoolLiteralsCheck.cpp34 has(ignoringParenImpCasts(integerLiteral().bind("literal"))), in registerMatchers()
46 eachOf(hasTrueExpression(ignoringParenImpCasts( in registerMatchers()
48 hasFalseExpression(ignoringParenImpCasts( in registerMatchers()
DLoopConvertCheck.cpp77 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 …]
DUseEqualsDefaultCheck.cpp141 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/
DStringFindStrContainsCheck.cpp79 hasOperands(ignoringParenImpCasts(StringNpos), in MakeRule()
80 ignoringParenImpCasts(StringFind))), in MakeRule()
85 hasOperands(ignoringParenImpCasts(StringNpos), in MakeRule()
86 ignoringParenImpCasts(StringFind))), in MakeRule()
DStringFindStartswithCheck.cpp54 hasOperands(ignoringParenImpCasts(ZeroLiteral), in registerMatchers()
55 ignoringParenImpCasts(StringFind.bind("findexpr")))) in registerMatchers()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DLoopUnrolling.cpp86 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/
DNumberObjectConversionChecker.cpp200 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()
DObjCAutoreleaseWriteChecker.cpp185 ignoringParenImpCasts(ReferencedParamM)) in checkASTCodeBody()
191 ignoringParenImpCasts(ReferencedParamM)); in checkASTCodeBody()
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DNoAutomaticMoveCheck.cpp49 ignoringElidableConstructorCall(ignoringParenImpCasts( in registerMatchers()
52 hasArgument(0, ignoringParenImpCasts(declRefExpr( in registerMatchers()
DInefficientAlgorithmCheck.cpp43 0, cxxConstructExpr(has(ignoringParenImpCasts(cxxMemberCallExpr( in registerMatchers()
52 1, cxxConstructExpr(has(ignoringParenImpCasts(cxxMemberCallExpr( in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/misc/
DStaticAssertCheck.cpp36 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/
DThrownExceptionTypeCheck.cpp24 cxxThrowExpr(has(ignoringParenImpCasts( in registerMatchers()

123