Home
last modified time | relevance | path

Searched refs:arraySubscriptExpr (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DProBoundsPointerArithmeticCheck.cpp44 arraySubscriptExpr( in registerMatchers()
H A DProBoundsArrayToPointerDecayCheck.cpp60 unless(hasParent(arraySubscriptExpr())), in registerMatchers()
H A DProBoundsConstantArrayIndexCheck.cpp42 Finder->addMatcher(arraySubscriptExpr(hasBase(ignoringImpCasts(hasType( in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DMisplacedArrayIndexCheck.cpp23 traverse(TK_AsIs, arraySubscriptExpr(hasLHS(hasType(isInteger())), in registerMatchers()
H A DSimplifySubscriptExprCheck.cpp34 arraySubscriptExpr(hasBase( in registerMatchers()
H A DContainerDataPointerCheck.cpp76 arraySubscriptExpr(hasLHS(ContainerExpr), hasRHS(Zero)))))) in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DBoolPointerImplicitConversionCheck.cpp53 !match(findAll(arraySubscriptExpr(hasBase(RefMatcher))), *If, in checkImpl()
H A DSignedCharMisuseCheck.cpp109 arraySubscriptExpr(hasIndex(SignedCharCastExpr)).bind("arraySubscript"); in registerMatchers()
H A DImplicitWideningOfMultiplicationResultCheck.cpp249 arraySubscriptExpr(unless(isInTemplateInstantiation())).bind("x"), this); in registerMatchers()
H A DSizeofExpressionCheck.cpp163 ignoringParenImpCasts(arraySubscriptExpr(hasBase(ArrayOfSamePointersExpr), in registerMatchers()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp312 unless(hasParent(arraySubscriptExpr())), in findDirectMutation()
401 match(findAll(arraySubscriptExpr( in findArrayElementMutation()
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp138 REGISTER_MATCHER(arraySubscriptExpr); in RegistryMaps()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersNodeTest.cpp1138 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 DASTMatchersTraversalTest.cpp1536 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 DASTMatchersInternal.cpp883 arraySubscriptExpr; variable
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1981 arraySubscriptExpr;