Home
last modified time | relevance | path

Searched refs:nullPointerConstant (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/cert/
DCommandProcessorCheck.cpp29 hasArgument(0, nullPointerConstant())))) in registerMatchers()
/external/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp1926 "void *v1 = NULL;", expr(nullPointerConstant()))); in TEST()
1927 EXPECT_TRUE(matches("void *v2 = nullptr;", expr(nullPointerConstant()))); in TEST()
1928 EXPECT_TRUE(matches("void *v3 = __null;", expr(nullPointerConstant()))); in TEST()
1929 EXPECT_TRUE(matches("char *cp = (char *)0;", expr(nullPointerConstant()))); in TEST()
1930 EXPECT_TRUE(matches("int *ip = 0;", expr(nullPointerConstant()))); in TEST()
1931 EXPECT_TRUE(notMatches("int i = 0;", expr(nullPointerConstant()))); in TEST()
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp3225 expr(nullPointerConstant()))); in TEST_P()
3226 EXPECT_TRUE(matches("char *cp = (char *)0;", expr(nullPointerConstant()))); in TEST_P()
3227 EXPECT_TRUE(matches("int *ip = 0;", expr(nullPointerConstant()))); in TEST_P()
3228 EXPECT_TRUE(matches("int i = 0;", expr(nullPointerConstant()))); in TEST_P()
3236 EXPECT_TRUE(matches("void *p = __null;", expr(nullPointerConstant()))); in TEST_P()
3252 EXPECT_TRUE(matches(kTest, expr(nullPointerConstant()))); in TEST_P()
3260 EXPECT_TRUE(matches("void *p = nullptr;", expr(nullPointerConstant()))); in TEST_P()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp350 REGISTER_MATCHER(nullPointerConstant); in RegistryMaps()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp456 REGISTER_MATCHER(nullPointerConstant); in RegistryMaps()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h5349 AST_MATCHER_FUNCTION(internal::Matcher<Expr>, nullPointerConstant) { in AST_MATCHER_FUNCTION() argument
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h7175 AST_MATCHER(Expr, nullPointerConstant) { in AST_MATCHER() argument