Searched refs:hasSize (Results 1 – 10 of 10) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | FasterStringFindCheck.cpp | 64 expr(ignoringParenCasts(stringLiteral(hasSize(1)).bind("literal"))); in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | RedundantStringInitCheck.cpp | 84 hasArgument(0, ignoringParenImpCasts(stringLiteral(hasSize(0))))); in registerMatchers()
|
| H A D | ContainerSizeEmptyCheck.cpp | 157 stringLiteral(hasSize(0)), cxxConstructExpr(isDefaultConstruction()), in registerMatchers()
|
| /llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/Models/ |
| H A D | UncheckedOptionalAccessModel.cpp | 142 hasArgument(0, stringLiteral(hasSize(0)))) in isValueOrStringEmptyCall() 165 ComparesToSame(stringLiteral(hasSize(0))), in isValueOrNotEqX()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersNodeTest.cpp | 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 D | ASTMatchersNarrowingTest.cpp | 2401 StatementMatcher Literal = stringLiteral(hasSize(4)); in TEST_P() 2415 StatementMatcher Literal = stringLiteral(hasSize(4)); in TEST_P()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 353 REGISTER_MATCHER(hasSize); in RegistryMaps()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersInternal.h | 2150 static bool hasSize(const Ty &Node, unsigned int N) { 2156 inline bool HasSizeMatcher<StringLiteral>::hasSize(
|
| H A D | ASTMatchers.h | 6836 AST_POLYMORPHIC_MATCHER_P(hasSize, in AST_POLYMORPHIC_MATCHER_P() argument 6840 return internal::HasSizeMatcher<NodeType>::hasSize(Node, N); in AST_POLYMORPHIC_MATCHER_P()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterTest.cpp | 709 hasUnqualifiedDesugaredType(constantArrayType(hasSize(7)))))))))); in TEST_P()
|