Home
last modified time | relevance | path

Searched refs:constantArrayType (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DProBoundsConstantArrayIndexCheck.cpp43 constantArrayType().bind("type")))), in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DSuspiciousMissingCommaCheck.cpp91 initListExpr(hasType(constantArrayType()), in registerMatchers()
H A DStringConstructorCheck.cpp72 isDefinition(), hasType(constantArrayType()), hasType(isConstQualified()), in registerMatchers()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp1542 EXPECT_TRUE(matches("int a[2];", constantArrayType())); in TEST_P()
1544 constantArrayType(hasElementType(builtinType())))); in TEST_P()
1546 EXPECT_TRUE(matches("int a[42];", constantArrayType(hasSize(42)))); in TEST_P()
1547 EXPECT_TRUE(matches("int b[2*21];", constantArrayType(hasSize(42)))); in TEST_P()
1548 EXPECT_TRUE(notMatches("int c[41], d[43];", constantArrayType(hasSize(42)))); in TEST_P()
2575 Finder.addDynamicMatcher(constantArrayType(hasSize(42)), nullptr)); in TEST()
H A DASTMatchersNarrowingTest.cpp3501 matches("int a[2];", constantArrayType(hasElementType(builtinType())))); in TEST_P()
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp173 REGISTER_MATCHER(constantArrayType); in RegistryMaps()
/llvm-project-15.0.7/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp1037 const AstTypeMatcher<ConstantArrayType> constantArrayType; variable
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h6819 extern const AstTypeMatcher<ConstantArrayType> constantArrayType;
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterTest.cpp709 hasUnqualifiedDesugaredType(constantArrayType(hasSize(7)))))))))); in TEST_P()