Home
last modified time | relevance | path

Searched refs:ArraySubscriptExpr (Results 1 – 25 of 100) sorted by relevance

1234

/external/clang/lib/StaticAnalyzer/Checkers/
DUndefinedArraySubscriptChecker.cpp27 : public Checker< check::PreStmt<ArraySubscriptExpr> > {
31 void checkPreStmt(const ArraySubscriptExpr *A, CheckerContext &C) const;
36 UndefinedArraySubscriptChecker::checkPreStmt(const ArraySubscriptExpr *A, in checkPreStmt()
DPointerArithChecker.cpp48 check::PreStmt<ArraySubscriptExpr>, check::PreStmt<CastExpr>,
67 void checkPreStmt(const ArraySubscriptExpr *SubExpr, CheckerContext &C) const;
306 void PointerArithChecker::checkPreStmt(const ArraySubscriptExpr *SubsExpr, in checkPreStmt()
DDereferenceChecker.cpp134 const ArraySubscriptExpr *AE = cast<ArraySubscriptExpr>(S); in reportBug()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DUndefinedArraySubscriptChecker.cpp26 : public Checker< check::PreStmt<ArraySubscriptExpr> > {
30 void checkPreStmt(const ArraySubscriptExpr *A, CheckerContext &C) const;
35 UndefinedArraySubscriptChecker::checkPreStmt(const ArraySubscriptExpr *A, in checkPreStmt()
DInvalidatedIteratorChecker.cpp31 check::PreStmt<ArraySubscriptExpr>,
45 void checkPreStmt(const ArraySubscriptExpr *ASE, CheckerContext &C) const;
100 void InvalidatedIteratorChecker::checkPreStmt(const ArraySubscriptExpr *ASE, in checkPreStmt()
DAnalysisOrderChecker.cpp33 check::PreStmt<ArraySubscriptExpr>,
34 check::PostStmt<ArraySubscriptExpr>, check::PreStmt<CXXNewExpr>,
73 void checkPreStmt(const ArraySubscriptExpr *SubExpr, in checkPreStmt()
79 void checkPostStmt(const ArraySubscriptExpr *SubExpr, in checkPostStmt()
DPointerArithChecker.cpp46 check::PreStmt<ArraySubscriptExpr>, check::PreStmt<CastExpr>,
65 void checkPreStmt(const ArraySubscriptExpr *SubExpr, CheckerContext &C) const;
303 void PointerArithChecker::checkPreStmt(const ArraySubscriptExpr *SubsExpr, in checkPreStmt()
DIteratorRangeChecker.cpp32 check::PreStmt<ArraySubscriptExpr>,
54 void checkPreStmt(const ArraySubscriptExpr *ASE, CheckerContext &C) const;
179 void IteratorRangeChecker::checkPreStmt(const ArraySubscriptExpr *ASE, in checkPreStmt()
DDereferenceChecker.cpp154 const ArraySubscriptExpr *AE = cast<ArraySubscriptExpr>(S); in reportBug()
DUndefResultChecker.cpp41 if (!isa<ArraySubscriptExpr>(Ex)) in isArrayIndexOutOfBounds()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DMisplacedArrayIndexCheck.cpp32 Result.Nodes.getNodeAs<ArraySubscriptExpr>("expr"); in check()
DNonConstParameterCheck.cpp199 } else if (const auto *A = dyn_cast<ArraySubscriptExpr>(E)) { in markCanNotBeConst()
/external/llvm-project/clang/include/clang/AST/
DComputeDependence.h30 class ArraySubscriptExpr; variable
112 ExprDependence computeDependence(ArraySubscriptExpr *E);
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DProBoundsConstantArrayIndexCheck.cpp70 if (const auto *ArraySubscriptE = dyn_cast<ArraySubscriptExpr>(Matched)) in check()
/external/llvm-project/clang/lib/AST/
DExprClassification.cpp215 if (cast<ArraySubscriptExpr>(E)->getBase()->getType()->isVectorType()) in ClassifyInternal()
216 return ClassifyInternal(Ctx, cast<ArraySubscriptExpr>(E)->getBase()); in ClassifyInternal()
220 auto *Base = cast<ArraySubscriptExpr>(E)->getBase()->IgnoreImpCasts(); in ClassifyInternal()
/external/llvm-project/clang/include/clang/Analysis/Analyses/
DThreadSafetyCommon.h43 class ArraySubscriptExpr; variable
418 til::SExpr *translateArraySubscriptExpr(const ArraySubscriptExpr *E,
/external/clang/lib/Sema/
DSemaFixItUtils.cpp69 if (isa<ArraySubscriptExpr>(Expr) || in tryToFixConversion()
/external/llvm-project/clang/lib/Sema/
DSemaFixItUtils.cpp68 if (isa<ArraySubscriptExpr>(Expr) || in tryToFixConversion()
/external/clang/lib/Analysis/
DReachableCode.cpp540 const ArraySubscriptExpr *ASE = cast<ArraySubscriptExpr>(S); in GetUnreachableLoc()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DLoopConvertUtils.cpp381 const auto *E = cast<ArraySubscriptExpr>(Init); in isAliasDecl()
690 bool ForLoopIndexUseVisitor::TraverseArraySubscriptExpr(ArraySubscriptExpr *E) { in TraverseArraySubscriptExpr()
DLoopConvertUtils.h348 bool TraverseArraySubscriptExpr(ArraySubscriptExpr *E);
/external/bcc/src/cc/frontends/clang/
Db_frontend_action.h107 bool VisitArraySubscriptExpr(clang::ArraySubscriptExpr *E);
/external/llvm-project/clang/lib/Analysis/
DReachableCode.cpp582 const ArraySubscriptExpr *ASE = cast<ArraySubscriptExpr>(S); in GetUnreachableLoc()
/external/clang/lib/AST/
DExprClassification.cpp201 if (cast<ArraySubscriptExpr>(E)->getBase()->getType()->isVectorType()) in ClassifyInternal()
202 return ClassifyInternal(Ctx, cast<ArraySubscriptExpr>(E)->getBase()); in ClassifyInternal()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1328 ArraySubscriptExpr> arraySubscriptExpr;
3503 AST_MATCHER_P(ArraySubscriptExpr, hasIndex, in AST_MATCHER_P() argument
3520 AST_MATCHER_P(ArraySubscriptExpr, hasBase, in AST_MATCHER_P() argument
3622 ArraySubscriptExpr), in AST_POLYMORPHIC_MATCHER_P() argument
3637 ArraySubscriptExpr), in AST_POLYMORPHIC_MATCHER_P() argument

1234