Home
last modified time | relevance | path

Searched refs:hasSourceExpression (Results 1 – 25 of 35) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clang-tidy/abseil/
DDurationConversionCastCheck.cpp28 cxxStaticCastExpr(hasSourceExpression(CallMatcher)).bind("cast_expr"), in registerMatchers()
29 cStyleCastExpr(hasSourceExpression(CallMatcher)).bind("cast_expr"), in registerMatchers()
30 cxxFunctionalCastExpr(hasSourceExpression(CallMatcher)) in registerMatchers()
DDurationRewriter.cpp176 hasSourceExpression(initListExpr( in IsLiteralZero()
192 hasSourceExpression(expr().bind("cast_arg"))), in stripFloatCast()
195 hasSourceExpression(expr().bind("cast_arg"))), in stripFloatCast()
198 hasSourceExpression(expr().bind("cast_arg"))))), in stripFloatCast()
DDurationDivisionCheck.cpp26 hasSourceExpression(ignoringParenCasts( in registerMatchers()
DDurationFactoryScaleCheck.cpp123 hasSourceExpression(initListExpr())), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/performance/
DNoIntToPtrCheck.cpp21 unless(hasSourceExpression(integerLiteral()))) in registerMatchers()
/external/clang/unittests/AST/
DASTImporterTest.cpp349 hasSourceExpression( in TEST()
351 hasSourceExpression(integerLiteral(equals(1))))), in TEST()
354 opaqueValueExpr(hasSourceExpression( in TEST()
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DProBoundsArrayToPointerDecayCheck.cpp62 unless(hasSourceExpression(ignoringParens(stringLiteral())))) in registerMatchers()
DNarrowingConversionsCheck.cpp53 hasSourceExpression(hasType( in registerMatchers()
55 unless(hasSourceExpression(IsCeilFloorCallExpr)), in registerMatchers()
DOwningMemoryCheck.cpp57 castExpr(hasSourceExpression(CreatesLegacyOwner)); in registerMatchers()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DOSObjectCStyleCast.cpp74 allOf(hasSourceExpression(allOf(OSObjTypeM, unless(DynamicCastM))), in checkASTCodeBody()
/external/llvm-project/clang/lib/Analysis/
DExprMutationAnalyzer.cpp47 hasSourceExpression(Inner)); in AST_MATCHER_P()
399 hasSourceExpression(canResolveToExpr( in findArrayElementMutation()
411 stmt(castExpr(hasSourceExpression(canResolveToExpr(equalsNode(Exp))), in findCastMutation()
423 expr(castExpr(hasSourceExpression(canResolveToExpr(equalsNode(Exp))), in findCastMutation()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DDeleteNullPointerCheck.cpp37 hasSourceExpression(PointerExpr)); in registerMatchers()
DImplicitBoolConversionCheck.cpp272 hasSourceExpression(cxxBoolLiteral()))), in registerMatchers()
273 hasSourceExpression(expr(hasType(booleanType()))), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DBoolPointerImplicitConversionCheck.cpp26 hasSourceExpression(expr( in registerMatchers()
DMisplacedPointerArithmeticInAllocCheck.cpp40 hasLHS(anyOf(AllocCall, castExpr(hasSourceExpression(AllocCall)))), in registerMatchers()
DParentVirtualCallCheck.cpp92 hasSourceExpression(cxxThisExpr(hasType( in registerMatchers()
DSuspiciousStringCompareCheck.cpp140 hasSourceExpression(StringCompareCallExpr)) in registerMatchers()
DSignedCharMisuseCheck.cpp62 implicitCastExpr(hasSourceExpression(CharTypeExpr), in charCastExpression()
DSizeofExpressionCheck.cpp145 castExpr(hasSourceExpression(ArrayExpr)))); in registerMatchers()
/external/clang/unittests/Tooling/
DRefactoringCallbacksTest.cpp85 hasCondition(implicitCastExpr(hasSourceExpression( in TEST()
/external/llvm-project/clang/unittests/Tooling/
DRefactoringCallbacksTest.cpp82 ifStmt(hasCondition(implicitCastExpr(hasSourceExpression( in TEST()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseEqualsDefaultCheck.cpp164 hasSourceExpression(cxxThisExpr()))), in isCopyAssignmentAndCanBeDefaulted()
DUseNullptrCheck.cpp42 unless(hasSourceExpression(hasType(sugaredNullptrType())))); in makeCastSequenceMatcher()
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersNodeTest.cpp1111 hasSourceExpression((integerLiteral(equals(1)))))))), in TEST_P()
1118 opaqueValueExpr(hasSourceExpression((integerLiteral(equals(4)))))), in TEST_P()
1509 implicitCastExpr(hasSourceExpression(stringLiteral()))))); in TEST_P()
1512 implicitCastExpr(hasSourceExpression( in TEST_P()
DASTMatchersTraversalTest.cpp1523 hasSourceExpression(declRefExpr()))))))); in TEST()
2938 hasSourceExpression(initListExpr()))))), in TEST()
2946 hasSourceExpression(initListExpr()))))), in TEST()
3188 implicitCastExpr(hasSourceExpression(cxxConstructExpr()))))); in TEST()
3194 explicitCastExpr(hasSourceExpression( in TEST()
3388 implicitCastExpr(hasSourceExpression(declRefExpr().bind("dre"))))), in TEST()

12