Home
last modified time | relevance | path

Searched refs:explicitCastExpr (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DIntegerDivisionCheck.cpp30 callExpr(IntType), explicitCastExpr(IntType), UnaryOperators); in registerMatchers()
H A DMisplacedWideningCastCheck.cpp37 const auto ExplicitCast = explicitCastExpr(hasDestinationType(isInteger()), in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DProBoundsArrayToPointerDecayCheck.cpp61 unless(hasParentIgnoringImpCasts(explicitCastExpr())), in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseBoolLiteralsCheck.cpp37 anyOf(hasParent(explicitCastExpr().bind("cast")), anything()))), in registerMatchers()
H A DUseNullptrCheck.cpp51 explicitCastExpr(hasDescendant(ImplicitCastToNull))), in makeCastSequenceMatcher()
52 unless(hasAncestor(explicitCastExpr())), in makeCastSequenceMatcher()
H A DUseAutoCheck.cpp233 unless(has(varDecl(unless(hasInitializer(explicitCastExpr())))))) in makeDeclWithCastMatcher()
H A DLoopConvertCheck.cpp275 explicitCastExpr(hasSourceExpression(ignoringParenImpCasts( in makePseudoArrayLoopMatcher()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.cpp315 explicitCastExpr(allOf(hasType(SuspiciousScalarBooleanTypeM), in checkASTCodeBody()
319 explicitCastExpr(allOf(hasType(SuspiciousScalarNumberTypeM), in checkASTCodeBody()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DContainerSizeEmptyCheck.cpp66 explicitCastExpr(hasDestinationType(booleanType())), in AST_MATCHER()
72 explicitCastExpr(hasDestinationType(booleanType())))), in AST_MATCHER()
H A DImplicitBoolConversionCheck.cpp267 hasParent(explicitCastExpr()))); in registerMatchers()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp418 explicitCastExpr( in findCastMutation()
430 anyOf(explicitCastExpr( in findCastMutation()
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp237 REGISTER_MATCHER(explicitCastExpr); in RegistryMaps()
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp973 explicitCastExpr; variable
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersTraversalTest.cpp453 explicitCastExpr(hasTypeLoc(loc(asString("int")))))); in TEST()
455 explicitCastExpr(hasTypeLoc(loc(asString("int")))))); in TEST()
4658 traverse(TK_AsIs, explicitCastExpr(hasSourceExpression( in TEST()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2634 explicitCastExpr;