Home
last modified time | relevance | path

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

12

/external/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()
DDereferenceChecker.cpp127 const ArraySubscriptExpr *AE = cast<ArraySubscriptExpr>(S); in reportBug()
/external/clang/lib/Analysis/
DReachableCode.cpp217 const ArraySubscriptExpr *ASE = cast<ArraySubscriptExpr>(S); in GetUnreachableLoc()
DThreadSafety.cpp418 } else if (const ArraySubscriptExpr *ASE = in buildSExpr()
419 dyn_cast<ArraySubscriptExpr>(Exp)) { in buildSExpr()
/external/clang/lib/Sema/
DSemaFixItUtils.cpp69 if (isa<ArraySubscriptExpr>(Expr) || in tryToFixConversion()
DSemaChecking.cpp3860 return EvalAddr(cast<ArraySubscriptExpr>(E)->getBase(), refVars,ParentDecl); in EvalVal()
5812 const ArraySubscriptExpr *ASE, in CheckArrayAccess()
5914 while (const ArraySubscriptExpr *ASE = in CheckArrayAccess()
5915 dyn_cast<ArraySubscriptExpr>(BaseExpr)) in CheckArrayAccess()
5935 const ArraySubscriptExpr *ASE = cast<ArraySubscriptExpr>(expr); in CheckArrayAccess()
/external/clang/lib/AST/
DExprClassification.cpp194 if (cast<ArraySubscriptExpr>(E)->getBase()->getType()->isVectorType()) in ClassifyInternal()
195 return ClassifyInternal(Ctx, cast<ArraySubscriptExpr>(E)->getBase()); in ClassifyInternal()
DExpr.cpp2005 Loc = cast<ArraySubscriptExpr>(this)->getRBracketLoc(); in isUnusedResultAWarning()
2006 R1 = cast<ArraySubscriptExpr>(this)->getLHS()->getSourceRange(); in isUnusedResultAWarning()
2007 R2 = cast<ArraySubscriptExpr>(this)->getRHS()->getSourceRange(); in isUnusedResultAWarning()
2229 return cast<ArraySubscriptExpr>(E)->getBase()->isOBJCGCCandidate(Ctx); in isOBJCGCCandidate()
3172 if (const ArraySubscriptExpr *ASE = dyn_cast<ArraySubscriptExpr>(E)) in refersToVectorElement()
DStmtProfile.cpp345 void StmtProfiler::VisitArraySubscriptExpr(const ArraySubscriptExpr *S) { in VisitArraySubscriptExpr()
DItaniumMangle.cpp2707 const ArraySubscriptExpr *AE = cast<ArraySubscriptExpr>(E); in mangleExpression()
DStmtPrinter.cpp884 void StmtPrinter::VisitArraySubscriptExpr(ArraySubscriptExpr *Node) { in VisitArraySubscriptExpr()
/external/clang/include/clang/Basic/
DStmtNodes.td63 def ArraySubscriptExpr : DStmt<Expr>;
/external/clang/lib/CodeGen/
DCGExpr.cpp802 if (SanOpts->Bounds && isa<ArraySubscriptExpr>(E)) in EmitCheckedLValue()
803 LV = EmitArraySubscriptExpr(cast<ArraySubscriptExpr>(E), /*Accessed*/true); in EmitCheckedLValue()
900 return EmitArraySubscriptExpr(cast<ArraySubscriptExpr>(E)); in EmitLValue()
1694 if (const ArraySubscriptExpr *Exp = dyn_cast<ArraySubscriptExpr>(E)) { in setObjCGCLValueClass()
2237 LValue CodeGenFunction::EmitArraySubscriptExpr(const ArraySubscriptExpr *E, in EmitArraySubscriptExpr()
2310 if (const ArraySubscriptExpr *ASE = dyn_cast<ArraySubscriptExpr>(Array)) in EmitArraySubscriptExpr()
DCGExprAgg.cpp145 void VisitArraySubscriptExpr(ArraySubscriptExpr *E) { in VisitArraySubscriptExpr()
881 } else if (const ArraySubscriptExpr *sub = dyn_cast<ArraySubscriptExpr>(E)) { in isBlockVarRef()
DCGExprScalar.cpp258 Value *VisitArraySubscriptExpr(ArraySubscriptExpr *E);
975 Value *ScalarExprEmitter::VisitArraySubscriptExpr(ArraySubscriptExpr *E) { in VisitArraySubscriptExpr()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h688 ArraySubscriptExpr> arraySubscriptExpr;
2252 AST_MATCHER_P(ArraySubscriptExpr, hasIndex, in AST_MATCHER_P() argument
2269 AST_MATCHER_P(ArraySubscriptExpr, hasBase, in AST_MATCHER_P() argument
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DExprEngine.h306 void VisitLvalArraySubscriptExpr(const ArraySubscriptExpr *Ex,
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp891 if (isa<ArraySubscriptExpr>(Expr) || in subscriptOperatorNeedsParens()
913 if (isa<ArraySubscriptExpr>(Expr) || in castOperatorNeedsParens()
/external/v8/tools/gcmole/
Dgcmole.cc540 VISIT(ArraySubscriptExpr); in VisitExpr()
653 DECL_VISIT_EXPR(ArraySubscriptExpr) { in DECL_VISIT_EXPR() argument
/external/clang/lib/StaticAnalyzer/Core/
DBugReporterVisitors.cpp69 else if (const ArraySubscriptExpr *AE = dyn_cast<ArraySubscriptExpr>(E)) { in getDerefExpr()
DExprEngine.cpp751 VisitLvalArraySubscriptExpr(cast<ArraySubscriptExpr>(S), Pred, Dst); in Visit()
1575 void ExprEngine::VisitLvalArraySubscriptExpr(const ArraySubscriptExpr *A, in VisitLvalArraySubscriptExpr()
/external/clang/include/clang/AST/
DExpr.h2030 class ArraySubscriptExpr : public Expr {
2035 ArraySubscriptExpr(Expr *lhs, Expr *rhs, QualType t, in ArraySubscriptExpr() function
2051 explicit ArraySubscriptExpr(EmptyShell Shell) in ArraySubscriptExpr() function
DRecursiveASTVisitor.h2135 DEF_TRAVERSE_STMT(ArraySubscriptExpr, { })
/external/clang/lib/Serialization/
DASTReaderStmt.cpp501 void ASTStmtReader::VisitArraySubscriptExpr(ArraySubscriptExpr *E) { in VisitArraySubscriptExpr()
1774 S = new (Context) ArraySubscriptExpr(Empty); in ReadStmtFromStream()
/external/clang/tools/libclang/
DRecursiveASTVisitor.h2063 DEF_TRAVERSE_STMT(ArraySubscriptExpr, { })

12