Home
last modified time | relevance | path

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

12

/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()
DDereferenceChecker.cpp125 const ArraySubscriptExpr *AE = cast<ArraySubscriptExpr>(S); in reportBug()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h1153 ArraySubscriptExpr> arraySubscriptExpr;
3093 AST_MATCHER_P(ArraySubscriptExpr, hasIndex, in AST_MATCHER_P() argument
3110 AST_MATCHER_P(ArraySubscriptExpr, hasBase, in AST_MATCHER_P() argument
3208 ArraySubscriptExpr), in AST_POLYMORPHIC_MATCHER_P() argument
3223 ArraySubscriptExpr), in AST_POLYMORPHIC_MATCHER_P() argument
/external/clang/lib/Analysis/
DReachableCode.cpp540 const ArraySubscriptExpr *ASE = cast<ArraySubscriptExpr>(S); in GetUnreachableLoc()
DThreadSafetyCommon.cpp227 return translateArraySubscriptExpr(cast<ArraySubscriptExpr>(S), Ctx); in translate()
570 SExprBuilder::translateArraySubscriptExpr(const ArraySubscriptExpr *E, in translateArraySubscriptExpr()
DThreadSafety.cpp1612 if (const ArraySubscriptExpr *AE = dyn_cast<ArraySubscriptExpr>(Exp)) { in checkAccess()
/external/clang/lib/Sema/
DSemaFixItUtils.cpp69 if (isa<ArraySubscriptExpr>(Expr) || in tryToFixConversion()
DSemaChecking.cpp5928 return EvalAddr(cast<ArraySubscriptExpr>(E)->getBase(), refVars,ParentDecl); in EvalVal()
8553 const ArraySubscriptExpr *ASE, in CheckArrayAccess()
8655 while (const ArraySubscriptExpr *ASE = in CheckArrayAccess()
8656 dyn_cast<ArraySubscriptExpr>(BaseExpr)) in CheckArrayAccess()
8676 const ArraySubscriptExpr *ASE = cast<ArraySubscriptExpr>(expr); in CheckArrayAccess()
DSemaOpenMP.cpp7100 auto *ASE = dyn_cast<ArraySubscriptExpr>(RefExpr); in ActOnOpenMPReductionClause()
7115 while (auto *TempASE = dyn_cast<ArraySubscriptExpr>(Base)) in ActOnOpenMPReductionClause()
7134 while (auto *TempASE = dyn_cast<ArraySubscriptExpr>(Base)) in ActOnOpenMPReductionClause()
8042 auto *ASE = dyn_cast<ArraySubscriptExpr>(SimpleExpr); in ActOnOpenMPDependClause()
8166 auto *ASE = dyn_cast<ArraySubscriptExpr>(SimpleExpr); in ActOnOpenMPMapClause()
/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()
DExpr.cpp2165 Loc = cast<ArraySubscriptExpr>(this)->getRBracketLoc(); in isUnusedResultAWarning()
2166 R1 = cast<ArraySubscriptExpr>(this)->getLHS()->getSourceRange(); in isUnusedResultAWarning()
2167 R2 = cast<ArraySubscriptExpr>(this)->getRHS()->getSourceRange(); in isUnusedResultAWarning()
2414 return cast<ArraySubscriptExpr>(E)->getBase()->isOBJCGCCandidate(Ctx); in isOBJCGCCandidate()
3481 if (const ArraySubscriptExpr *ASE = dyn_cast<ArraySubscriptExpr>(E)) in refersToVectorElement()
4039 while (auto *ASE = dyn_cast<ArraySubscriptExpr>(Base->IgnoreParens())) { in getBaseOriginalType()
DStmtProfile.cpp710 void StmtProfiler::VisitArraySubscriptExpr(const ArraySubscriptExpr *S) { in VisitArraySubscriptExpr()
DItaniumMangle.cpp3232 const ArraySubscriptExpr *AE = cast<ArraySubscriptExpr>(E); in mangleExpression()
/external/clang/lib/CodeGen/
DCGExprAgg.cpp142 void VisitArraySubscriptExpr(ArraySubscriptExpr *E) { in VisitArraySubscriptExpr()
852 } else if (const ArraySubscriptExpr *sub = dyn_cast<ArraySubscriptExpr>(E)) { in isBlockVarRef()
DCGExpr.cpp919 if (SanOpts.has(SanitizerKind::ArrayBounds) && isa<ArraySubscriptExpr>(E)) in EmitCheckedLValue()
920 LV = EmitArraySubscriptExpr(cast<ArraySubscriptExpr>(E), /*Accessed*/true); in EmitCheckedLValue()
1024 return EmitArraySubscriptExpr(cast<ArraySubscriptExpr>(E)); in EmitLValue()
1896 if (const auto *Exp = dyn_cast<ArraySubscriptExpr>(E)) { in setObjCGCLValueClass()
2700 LValue CodeGenFunction::EmitArraySubscriptExpr(const ArraySubscriptExpr *E, in EmitArraySubscriptExpr()
2800 if (const auto *ASE = dyn_cast<ArraySubscriptExpr>(Array)) in EmitArraySubscriptExpr()
DCGStmtOpenMP.cpp672 while (auto *TempASE = dyn_cast<ArraySubscriptExpr>(Base)) in EmitOMPReductionClauseInit()
737 } else if (auto *ASE = dyn_cast<ArraySubscriptExpr>(IRef)) { in EmitOMPReductionClauseInit()
739 while (auto *TempASE = dyn_cast<ArraySubscriptExpr>(Base)) in EmitOMPReductionClauseInit()
/external/clang/include/clang/Basic/
DStmtNodes.td68 def ArraySubscriptExpr : DStmt<Expr>;
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyCommon.h392 til::SExpr *translateArraySubscriptExpr(const ArraySubscriptExpr *E,
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp891 if (isa<ArraySubscriptExpr>(Expr) || in subscriptOperatorNeedsParens()
913 if (isa<ArraySubscriptExpr>(Expr) || in castOperatorNeedsParens()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DExprEngine.h328 void VisitLvalArraySubscriptExpr(const ArraySubscriptExpr *Ex,
/external/v8/tools/gcmole/
Dgcmole.cc537 VISIT(ArraySubscriptExpr); in VisitExpr()
645 DECL_VISIT_EXPR(ArraySubscriptExpr) { in DECL_VISIT_EXPR() argument
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp498 const ArraySubscriptExpr *ASE; in ProcessInitializer()
499 while ((ASE = dyn_cast<ArraySubscriptExpr>(Init))) in ProcessInitializer()
1006 VisitLvalArraySubscriptExpr(cast<ArraySubscriptExpr>(S), Pred, Dst); in Visit()
1946 void ExprEngine::VisitLvalArraySubscriptExpr(const ArraySubscriptExpr *A, in VisitLvalArraySubscriptExpr()
DBugReporterVisitors.cpp73 else if (const ArraySubscriptExpr *AE = dyn_cast<ArraySubscriptExpr>(E)) { in getDerefExpr()
/external/clang/include/clang/AST/
DExpr.h2104 class ArraySubscriptExpr : public Expr {
2109 ArraySubscriptExpr(Expr *lhs, Expr *rhs, QualType t, in ArraySubscriptExpr() function
2125 explicit ArraySubscriptExpr(EmptyShell Shell) in ArraySubscriptExpr() function
/external/clang/lib/Serialization/
DASTReaderStmt.cpp605 void ASTStmtReader::VisitArraySubscriptExpr(ArraySubscriptExpr *E) { in VisitArraySubscriptExpr()
2694 S = new (Context) ArraySubscriptExpr(Empty); in ReadStmtFromStream()

12