Searched refs:nullPointerConstant (Results 1 – 7 of 7) sorted by relevance
/external/llvm-project/clang-tools-extra/clang-tidy/cert/ |
D | CommandProcessorCheck.cpp | 29 hasArgument(0, nullPointerConstant())))) in registerMatchers()
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersNarrowingTest.cpp | 1926 "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/ |
D | ASTMatchersNarrowingTest.cpp | 3225 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/ |
D | Registry.cpp | 350 REGISTER_MATCHER(nullPointerConstant); in RegistryMaps()
|
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
D | Registry.cpp | 456 REGISTER_MATCHER(nullPointerConstant); in RegistryMaps()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 5349 AST_MATCHER_FUNCTION(internal::Matcher<Expr>, nullPointerConstant) { in AST_MATCHER_FUNCTION() argument
|
/external/llvm-project/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 7175 AST_MATCHER(Expr, nullPointerConstant) { in AST_MATCHER() argument
|