Home
last modified time | relevance | path

Searched refs:cxxStaticCastExpr (Results 1 – 16 of 16) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DProTypeStaticCastDowncastCheck.cpp21 cxxStaticCastExpr(unless(isInTemplateInstantiation())).bind("cast"), in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/abseil/
DDurationDivisionCheck.cpp32 unless(hasParent(cxxStaticCastExpr())), in registerMatchers()
DDurationFactoryFloatCheck.cpp34 hasArgument(0, anyOf(cxxStaticCastExpr(hasDestinationType( in registerMatchers()
DDurationConversionCastCheck.cpp28 cxxStaticCastExpr(hasSourceExpression(CallMatcher)).bind("cast_expr"), in registerMatchers()
DDurationRewriter.cpp190 match(expr(anyOf(cxxStaticCastExpr( in stripFloatCast()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DSignedCharMisuseCheck.cpp67 const auto StaticCastExpr = cxxStaticCastExpr(has(ImplicitCastExpr)); in charCastExpression()
/external/clang/unittests/ASTMatchers/
DASTMatchersNodeTest.cpp920 cxxStaticCastExpr())); in TEST()
924 EXPECT_TRUE(notMatches("char* p = (char*)(&p);", cxxStaticCastExpr())); in TEST()
926 cxxStaticCastExpr())); in TEST()
928 cxxStaticCastExpr())); in TEST()
932 cxxStaticCastExpr())); in TEST()
DASTMatchersTraversalTest.cpp1065 cxxStaticCastExpr(hasDestinationType( in TEST()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DRedundantVoidArgCheck.cpp64 cxxStaticCastExpr(CastDestinationIsFunction).bind(NamedCastId), this); in registerMatchers()
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersNodeTest.cpp1265 EXPECT_TRUE(matches("void* p(static_cast<void*>(&p));", cxxStaticCastExpr())); in TEST_P()
1272 EXPECT_TRUE(notMatches("char* p = (char*)(&p);", cxxStaticCastExpr())); in TEST_P()
1274 notMatches("char q, *p = const_cast<char*>(&q);", cxxStaticCastExpr())); in TEST_P()
1276 cxxStaticCastExpr())); in TEST_P()
1280 cxxStaticCastExpr())); in TEST_P()
DASTMatchersTraversalTest.cpp1703 cxxStaticCastExpr(hasDestinationType( in TEST()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp153 REGISTER_MATCHER(cxxStaticCastExpr); in RegistryMaps()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp196 REGISTER_MATCHER(cxxStaticCastExpr); in RegistryMaps()
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp925 cxxStaticCastExpr; variable
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1834 CXXStaticCastExpr> cxxStaticCastExpr; variable
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h2471 cxxStaticCastExpr;