Home
last modified time | relevance | path

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

/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DProBoundsPointerArithmeticCheck.cpp42 arraySubscriptExpr( in registerMatchers()
DProBoundsArrayToPointerDecayCheck.cpp59 unless(hasParent(arraySubscriptExpr())), in registerMatchers()
DProBoundsConstantArrayIndexCheck.cpp42 arraySubscriptExpr( in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DMisplacedArrayIndexCheck.cpp24 arraySubscriptExpr(hasLHS(hasType(isInteger())), in registerMatchers()
DSimplifySubscriptExprCheck.cpp35 arraySubscriptExpr(hasBase(ignoringParenImpCasts( in registerMatchers()
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DBoolPointerImplicitConversionCheck.cpp53 !match(findAll(arraySubscriptExpr(hasBase(RefMatcher))), *If, in checkImpl()
DSignedCharMisuseCheck.cpp116 arraySubscriptExpr(hasIndex(SignedCharCastExpr)).bind("arraySubscript"); in registerMatchers()
DSizeofExpressionCheck.cpp168 expr(ignoringParenImpCasts(arraySubscriptExpr( in registerMatchers()
/external/llvm-project/clang/lib/Analysis/
DExprMutationAnalyzer.cpp306 unless(hasParent(arraySubscriptExpr())), in findDirectMutation()
395 match(findAll(arraySubscriptExpr( in findArrayElementMutation()
/external/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp742 StatementMatcher OperatorIntPointer = arraySubscriptExpr( in TEST()
911 arraySubscriptExpr(hasIndex(integerLiteral(equals(1)))))); in TEST()
914 arraySubscriptExpr(hasIndex(integerLiteral(equals(1)))))); in TEST()
917 arraySubscriptExpr(hasIndex(integerLiteral(equals(0)))))); in TEST()
923 arraySubscriptExpr(hasBase(implicitCastExpr( in TEST()
DASTMatchersNodeTest.cpp825 arraySubscriptExpr())); in TEST()
827 arraySubscriptExpr())); in TEST()
/external/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp104 REGISTER_MATCHER(arraySubscriptExpr); in RegistryMaps()
/external/llvm-project/clang/unittests/ASTMatchers/
DASTMatchersTraversalTest.cpp1317 arraySubscriptExpr(hasLHS(hasType(isInteger())), in TEST()
1510 arraySubscriptExpr(hasIndex(integerLiteral(equals(1)))))); in TEST()
1513 arraySubscriptExpr(hasIndex(integerLiteral(equals(1)))))); in TEST()
1516 arraySubscriptExpr(hasIndex(integerLiteral(equals(0)))))); in TEST()
1522 arraySubscriptExpr(hasBase(implicitCastExpr( in TEST()
DASTMatchersNodeTest.cpp1126 matches("int i[2]; void f() { i[1] = 1; }", arraySubscriptExpr())); in TEST_P()
1127 EXPECT_TRUE(notMatches("int i; void f() { i = 1; }", arraySubscriptExpr())); in TEST_P()
/external/llvm-project/clang/lib/ASTMatchers/Dynamic/
DRegistry.cpp138 REGISTER_MATCHER(arraySubscriptExpr); in RegistryMaps()
/external/llvm-project/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp859 arraySubscriptExpr; variable
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1328 ArraySubscriptExpr> arraySubscriptExpr; variable
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h1940 arraySubscriptExpr;