Searched refs:arraySubscriptExpr (Results 1 – 16 of 16) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | ProBoundsPointerArithmeticCheck.cpp | 44 arraySubscriptExpr( in registerMatchers()
|
| H A D | ProBoundsArrayToPointerDecayCheck.cpp | 60 unless(hasParent(arraySubscriptExpr())), in registerMatchers()
|
| H A D | ProBoundsConstantArrayIndexCheck.cpp | 42 Finder->addMatcher(arraySubscriptExpr(hasBase(ignoringImpCasts(hasType( in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/ |
| H A D | MisplacedArrayIndexCheck.cpp | 23 traverse(TK_AsIs, arraySubscriptExpr(hasLHS(hasType(isInteger())), in registerMatchers()
|
| H A D | SimplifySubscriptExprCheck.cpp | 34 arraySubscriptExpr(hasBase( in registerMatchers()
|
| H A D | ContainerDataPointerCheck.cpp | 76 arraySubscriptExpr(hasLHS(ContainerExpr), hasRHS(Zero)))))) in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | BoolPointerImplicitConversionCheck.cpp | 53 !match(findAll(arraySubscriptExpr(hasBase(RefMatcher))), *If, in checkImpl()
|
| H A D | SignedCharMisuseCheck.cpp | 109 arraySubscriptExpr(hasIndex(SignedCharCastExpr)).bind("arraySubscript"); in registerMatchers()
|
| H A D | ImplicitWideningOfMultiplicationResultCheck.cpp | 249 arraySubscriptExpr(unless(isInTemplateInstantiation())).bind("x"), this); in registerMatchers()
|
| H A D | SizeofExpressionCheck.cpp | 163 ignoringParenImpCasts(arraySubscriptExpr(hasBase(ArrayOfSamePointersExpr), in registerMatchers()
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | ExprMutationAnalyzer.cpp | 312 unless(hasParent(arraySubscriptExpr())), in findDirectMutation() 401 match(findAll(arraySubscriptExpr( in findArrayElementMutation()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 138 REGISTER_MATCHER(arraySubscriptExpr); in RegistryMaps()
|
| /llvm-project-15.0.7/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersNodeTest.cpp | 1138 matches("int i[2]; void f() { i[1] = 1; }", arraySubscriptExpr())); in TEST_P() 1139 EXPECT_TRUE(notMatches("int i; void f() { i = 1; }", arraySubscriptExpr())); in TEST_P()
|
| H A D | ASTMatchersTraversalTest.cpp | 1536 StatementMatcher OperatorIntPointer = arraySubscriptExpr( in TEST() 1957 arraySubscriptExpr(hasIndex(integerLiteral(equals(1)))))); in TEST() 1960 arraySubscriptExpr(hasIndex(integerLiteral(equals(1)))))); in TEST() 1963 arraySubscriptExpr(hasIndex(integerLiteral(equals(0)))))); in TEST() 1969 traverse(TK_AsIs, arraySubscriptExpr(hasBase(implicitCastExpr( in TEST()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 883 arraySubscriptExpr; variable
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 1981 arraySubscriptExpr;
|