Home
last modified time | relevance | path

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

123

/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DUndefinedArraySubscriptChecker.cpp26 : public Checker< check::PreStmt<ArraySubscriptExpr> > {
30 void checkPreStmt(const ArraySubscriptExpr *A, CheckerContext &C) const;
35 UndefinedArraySubscriptChecker::checkPreStmt(const ArraySubscriptExpr *A, in checkPreStmt()
H A 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()
H A DInvalidatedIteratorChecker.cpp31 check::PreStmt<ArraySubscriptExpr>,
45 void checkPreStmt(const ArraySubscriptExpr *ASE, CheckerContext &C) const;
100 void InvalidatedIteratorChecker::checkPreStmt(const ArraySubscriptExpr *ASE, in checkPreStmt()
H A 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()
H A DIteratorRangeChecker.cpp32 check::PreStmt<ArraySubscriptExpr>,
54 void checkPreStmt(const ArraySubscriptExpr *ASE, CheckerContext &C) const;
179 void IteratorRangeChecker::checkPreStmt(const ArraySubscriptExpr *ASE, in checkPreStmt()
H A DDereferenceChecker.cpp185 const ArraySubscriptExpr *AE = cast<ArraySubscriptExpr>(S); in reportBug()
H A DUndefResultChecker.cpp41 if (!isa<ArraySubscriptExpr>(Ex)) in isArrayIndexOutOfBounds()
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DComputeDependence.h30 class ArraySubscriptExpr; variable
117 ExprDependence computeDependence(ArraySubscriptExpr *E);
/openbsd/gnu/llvm/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp286 const ArraySubscriptExpr *ASE;
291 ASE(Result.Nodes.getNodeAs<ArraySubscriptExpr>(ArraySubscrTag)) {} in ArraySubscriptGadget()
309 const ArraySubscriptExpr *getBaseStmt() const override { return ASE; } in getBaseStmt()
H A DReachableCode.cpp587 const ArraySubscriptExpr *ASE = cast<ArraySubscriptExpr>(S); in GetUnreachableLoc()
H A DThreadSafetyCommon.cpp263 return translateArraySubscriptExpr(cast<ArraySubscriptExpr>(S), Ctx); in translate()
633 SExprBuilder::translateArraySubscriptExpr(const ArraySubscriptExpr *E, in translateArraySubscriptExpr()
/openbsd/gnu/llvm/libcxxabi/src/demangle/
H A DItaniumNodes.def66 NODE(ArraySubscriptExpr)
/openbsd/gnu/llvm/llvm/include/llvm/Demangle/
H A DItaniumNodes.def66 NODE(ArraySubscriptExpr)
/openbsd/gnu/llvm/clang/lib/AST/
H A DExprClassification.cpp224 if (cast<ArraySubscriptExpr>(E)->getBase()->getType()->isVectorType()) in ClassifyInternal()
225 return ClassifyInternal(Ctx, cast<ArraySubscriptExpr>(E)->getBase()); in ClassifyInternal()
229 auto *Base = cast<ArraySubscriptExpr>(E)->getBase()->IgnoreImpCasts(); in ClassifyInternal()
H A DExpr.cpp2520 if (isa<ArraySubscriptExpr>(E)) in isReadIfDiscardedInCPlusPlus11()
2691 Loc = cast<ArraySubscriptExpr>(this)->getRBracketLoc(); in isUnusedResultAWarning()
2692 R1 = cast<ArraySubscriptExpr>(this)->getLHS()->getSourceRange(); in isUnusedResultAWarning()
2693 R2 = cast<ArraySubscriptExpr>(this)->getRHS()->getSourceRange(); in isUnusedResultAWarning()
2986 return cast<ArraySubscriptExpr>(E)->getBase()->isOBJCGCCandidate(Ctx); in isOBJCGCCandidate()
4086 if (const ArraySubscriptExpr *ASE = dyn_cast<ArraySubscriptExpr>(E)) in refersToVectorElement()
4163 const auto *Array1 = dyn_cast<ArraySubscriptExpr>(E1); in isSameComparisonOperand()
4164 const auto *Array2 = dyn_cast<ArraySubscriptExpr>(E2); in isSameComparisonOperand()
4895 dyn_cast<ArraySubscriptExpr>(Base->IgnoreParenImpCasts())) { in getBaseOriginalType()
/openbsd/gnu/llvm/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h45 class ArraySubscriptExpr; variable
436 til::SExpr *translateArraySubscriptExpr(const ArraySubscriptExpr *E,
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaFixItUtils.cpp68 if (isa<ArraySubscriptExpr>(Expr) || in tryToFixConversion()
H A DHLSLExternalSemaSource.cpp278 new (AST) ArraySubscriptExpr(HandleAccess, IndexExpr, ElemTy, VK_LValue, in addArraySubscriptOperator()
/openbsd/gnu/llvm/clang/lib/AST/Interp/
H A DByteCodeExprGen.h75 bool VisitArraySubscriptExpr(const ArraySubscriptExpr *E);
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DExplodedGraph.cpp53 return isa<DeclRefExpr, MemberExpr, ObjCIvarRefExpr, ArraySubscriptExpr>(Ex); in isInterestingLValueExpr()
H A DExprEngine.cpp1196 const ArraySubscriptExpr *ASE; in ProcessInitializer()
1197 while ((ASE = dyn_cast<ArraySubscriptExpr>(Init))) in ProcessInitializer()
2027 VisitArraySubscriptExpr(cast<ArraySubscriptExpr>(S), Pred, Dst); in Visit()
3127 else if (const auto *ASE = dyn_cast<ArraySubscriptExpr>(BD->getBinding())) { in VisitCommonDeclRefExpr()
3273 void ExprEngine::VisitArraySubscriptExpr(const ArraySubscriptExpr *A, in VisitArraySubscriptExpr()
/openbsd/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchers.h1981 extern const internal::VariadicDynCastAllOfMatcher<Stmt, ArraySubscriptExpr>
5439 AST_MATCHER_P(ArraySubscriptExpr, hasIndex, in AST_MATCHER_P() argument
5456 AST_MATCHER_P(ArraySubscriptExpr, hasBase, in AST_MATCHER_P() argument
5703 CXXRewrittenBinaryOperator, ArraySubscriptExpr), in AST_POLYMORPHIC_MATCHER_P() argument
5719 CXXRewrittenBinaryOperator, ArraySubscriptExpr), in AST_POLYMORPHIC_MATCHER_P() argument
/openbsd/gnu/llvm/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp894 if (isa<ArraySubscriptExpr>(Expr) || in subscriptOperatorNeedsParens()
916 if (isa<ArraySubscriptExpr>(Expr) || in castOperatorNeedsParens()
/openbsd/gnu/llvm/clang/include/clang/Basic/
H A DStmtNodes.td72 def ArraySubscriptExpr : StmtNode<Expr>;
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGExprAgg.cpp147 void VisitArraySubscriptExpr(ArraySubscriptExpr *E) { in VisitArraySubscriptExpr()
1177 } else if (const ArraySubscriptExpr *sub = dyn_cast<ArraySubscriptExpr>(E)) { in isBlockVarRef()

123