| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | UndefinedArraySubscriptChecker.cpp | 26 : public Checker< check::PreStmt<ArraySubscriptExpr> > { 30 void checkPreStmt(const ArraySubscriptExpr *A, CheckerContext &C) const; 35 UndefinedArraySubscriptChecker::checkPreStmt(const ArraySubscriptExpr *A, in checkPreStmt()
|
| H A D | AnalysisOrderChecker.cpp | 33 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 D | InvalidatedIteratorChecker.cpp | 31 check::PreStmt<ArraySubscriptExpr>, 45 void checkPreStmt(const ArraySubscriptExpr *ASE, CheckerContext &C) const; 95 void InvalidatedIteratorChecker::checkPreStmt(const ArraySubscriptExpr *ASE, in checkPreStmt()
|
| H A D | ArrayBoundCheckerV2.cpp | 49 class ArrayBoundCheckerV2 : public Checker<check::PostStmt<ArraySubscriptExpr>, 65 void checkPostStmt(const ArraySubscriptExpr *E, CheckerContext &C) const { in checkPostStmt() 386 if (isa<ArraySubscriptExpr>(E) && isInAddressOf(E, C.getASTContext())) { in performCheck() 412 if (const auto *ASE = dyn_cast<ArraySubscriptExpr>(E)) in performCheck()
|
| H A D | PointerArithChecker.cpp | 47 check::PreStmt<ArraySubscriptExpr>, check::PreStmt<CastExpr>, 66 void checkPreStmt(const ArraySubscriptExpr *SubExpr, CheckerContext &C) const; 297 void PointerArithChecker::checkPreStmt(const ArraySubscriptExpr *SubsExpr, in checkPreStmt()
|
| H A D | IteratorRangeChecker.cpp | 32 check::PreStmt<ArraySubscriptExpr>, 53 void checkPreStmt(const ArraySubscriptExpr *ASE, CheckerContext &C) const; 173 void IteratorRangeChecker::checkPreStmt(const ArraySubscriptExpr *ASE, in checkPreStmt()
|
| H A D | DereferenceChecker.cpp | 185 const ArraySubscriptExpr *AE = cast<ArraySubscriptExpr>(S); in reportBug()
|
| H A D | UndefResultChecker.cpp | 41 if (!isa<ArraySubscriptExpr>(Ex)) in isArrayIndexOutOfBounds()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ComputeDependence.h | 30 class ArraySubscriptExpr; variable 117 ExprDependence computeDependence(ArraySubscriptExpr *E);
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Demangle/ |
| H A D | ItaniumNodes.def | 70 NODE(ArraySubscriptExpr)
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprClassification.cpp | 224 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 D | Expr.cpp | 2514 if (isa<ArraySubscriptExpr>(E)) in isReadIfDiscardedInCPlusPlus11() 2685 Loc = cast<ArraySubscriptExpr>(this)->getRBracketLoc(); in isUnusedResultAWarning() 2686 R1 = cast<ArraySubscriptExpr>(this)->getLHS()->getSourceRange(); in isUnusedResultAWarning() 2687 R2 = cast<ArraySubscriptExpr>(this)->getRHS()->getSourceRange(); in isUnusedResultAWarning() 2980 return cast<ArraySubscriptExpr>(E)->getBase()->isOBJCGCCandidate(Ctx); in isOBJCGCCandidate() 4085 if (const ArraySubscriptExpr *ASE = dyn_cast<ArraySubscriptExpr>(E)) in refersToVectorElement() 4162 const auto *Array1 = dyn_cast<ArraySubscriptExpr>(E1); in isSameComparisonOperand() 4163 const auto *Array2 = dyn_cast<ArraySubscriptExpr>(E2); in isSameComparisonOperand() 5002 dyn_cast<ArraySubscriptExpr>(Base->IgnoreParenImpCasts())) { in getBaseOriginalType()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
| H A D | ThreadSafetyCommon.h | 45 class ArraySubscriptExpr; variable 436 til::SExpr *translateArraySubscriptExpr(const ArraySubscriptExpr *E,
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaFixItUtils.cpp | 68 if (isa<ArraySubscriptExpr>(Expr) || in tryToFixConversion()
|
| H A D | HLSLExternalSemaSource.cpp | 274 new (AST) ArraySubscriptExpr(HandleAccess, IndexExpr, ElemTy, VK_LValue, in addArraySubscriptOperator()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | UnsafeBufferUsage.cpp | 511 const ArraySubscriptExpr *ASE; 516 ASE(Result.Nodes.getNodeAs<ArraySubscriptExpr>(ArraySubscrTag)) {} in ArraySubscriptGadget() 536 const ArraySubscriptExpr *getBaseStmt() const override { return ASE; } in getBaseStmt() 760 const ArraySubscriptExpr *Node; 765 Node(Result.Nodes.getNodeAs<ArraySubscriptExpr>(ULCArraySubscriptTag)) { in ULCArraySubscriptGadget() 906 const auto *ArraySubst = cast<ArraySubscriptExpr>(Node->getSubExpr()); in getClaimedVarUseSites() 1811 const auto *ArraySub = cast<ArraySubscriptExpr>(Node->getSubExpr()); in fixUPCAddressofArraySubscriptWithSpan()
|
| H A D | ReachableCode.cpp | 588 const ArraySubscriptExpr *ASE = cast<ArraySubscriptExpr>(S); in GetUnreachableLoc()
|
| H A D | ThreadSafetyCommon.cpp | 265 return translateArraySubscriptExpr(cast<ArraySubscriptExpr>(S), Ctx); in translate() 641 SExprBuilder::translateArraySubscriptExpr(const ArraySubscriptExpr *E, in translateArraySubscriptExpr()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExplodedGraph.cpp | 53 return isa<DeclRefExpr, MemberExpr, ObjCIvarRefExpr, ArraySubscriptExpr>(Ex); in isInterestingLValueExpr()
|
| H A D | ExprEngine.cpp | 1202 const ArraySubscriptExpr *ASE; in ProcessInitializer() 1203 while ((ASE = dyn_cast<ArraySubscriptExpr>(Init))) in ProcessInitializer() 2049 VisitArraySubscriptExpr(cast<ArraySubscriptExpr>(S), Pred, Dst); in Visit() 3146 else if (const auto *ASE = dyn_cast<ArraySubscriptExpr>(BD->getBinding())) { in VisitCommonDeclRefExpr() 3292 void ExprEngine::VisitArraySubscriptExpr(const ArraySubscriptExpr *A, in VisitArraySubscriptExpr()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 894 if (isa<ArraySubscriptExpr>(Expr) || in subscriptOperatorNeedsParens() 916 if (isa<ArraySubscriptExpr>(Expr) || in castOperatorNeedsParens()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | ByteCodeExprGen.h | 81 bool VisitArraySubscriptExpr(const ArraySubscriptExpr *E);
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 2031 extern const internal::VariadicDynCastAllOfMatcher<Stmt, ArraySubscriptExpr> 5677 AST_MATCHER_P(ArraySubscriptExpr, hasIndex, in AST_MATCHER_P() argument 5694 AST_MATCHER_P(ArraySubscriptExpr, hasBase, in AST_MATCHER_P() argument 5952 ArraySubscriptExpr, CXXFoldExpr), in AST_POLYMORPHIC_MATCHER_P() argument 5969 ArraySubscriptExpr, CXXFoldExpr), in AST_POLYMORPHIC_MATCHER_P() argument
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | StmtNodes.td | 72 def ArraySubscriptExpr : StmtNode<Expr>;
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprAgg.cpp | 152 void VisitArraySubscriptExpr(ArraySubscriptExpr *E) { in VisitArraySubscriptExpr() 1180 } else if (const ArraySubscriptExpr *sub = dyn_cast<ArraySubscriptExpr>(E)) { in isBlockVarRef()
|