Home
last modified time | relevance | path

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

123

/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDUndefinedArraySubscriptChecker.cpp26 : public Checker< check::PreStmt<ArraySubscriptExpr> > {
30 void checkPreStmt(const ArraySubscriptExpr *A, CheckerContext &C) const;
35 UndefinedArraySubscriptChecker::checkPreStmt(const ArraySubscriptExpr *A, in checkPreStmt()
HDAnalysisOrderChecker.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()
HDInvalidatedIteratorChecker.cpp31 check::PreStmt<ArraySubscriptExpr>,
45 void checkPreStmt(const ArraySubscriptExpr *ASE, CheckerContext &C) const;
95 void InvalidatedIteratorChecker::checkPreStmt(const ArraySubscriptExpr *ASE, in checkPreStmt()
HDPointerArithChecker.cpp47 check::PreStmt<ArraySubscriptExpr>, check::PreStmt<CastExpr>,
66 void checkPreStmt(const ArraySubscriptExpr *SubExpr, CheckerContext &C) const;
297 void PointerArithChecker::checkPreStmt(const ArraySubscriptExpr *SubsExpr, in checkPreStmt()
HDArrayBoundCheckerV2.cpp43 const auto *ASE = dyn_cast<ArraySubscriptExpr>(E); in determineElementType()
126 class ArrayBoundCheckerV2 : public Checker<check::PostStmt<ArraySubscriptExpr>,
150 void checkPostStmt(const ArraySubscriptExpr *E, CheckerContext &C) const { in checkPostStmt()
648 if (const auto *ASE = dyn_cast<ArraySubscriptExpr>(E)) in performCheck()
763 if (isa<ArraySubscriptExpr>(E) && isInAddressOf(E, C.getASTContext())) { in isIdiomaticPastTheEndPtr()
HDIteratorRangeChecker.cpp32 check::PreStmt<ArraySubscriptExpr>,
53 void checkPreStmt(const ArraySubscriptExpr *ASE, CheckerContext &C) const;
178 void IteratorRangeChecker::checkPreStmt(const ArraySubscriptExpr *ASE, in checkPreStmt()
HDDereferenceChecker.cpp192 const ArraySubscriptExpr *AE = cast<ArraySubscriptExpr>(S); in reportBug()
HDUndefResultChecker.cpp41 if (!isa<ArraySubscriptExpr>(Ex)) in isArrayIndexOutOfBounds()
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
HDComputeDependence.h30 class ArraySubscriptExpr; variable
118 ExprDependence computeDependence(ArraySubscriptExpr *E);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Demangle/
HDItaniumNodes.def70 NODE(ArraySubscriptExpr)
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaBPF.cpp37 isa<ArraySubscriptExpr>(Arg->IgnoreParens())); in isValidPreserveFieldInfoArg()
HDSemaFixItUtils.cpp68 if (isa<ArraySubscriptExpr>(Expr) || in tryToFixConversion()
HDSemaOpenACC.cpp1366 while (isa<ArraySectionExpr, ArraySubscriptExpr>(CurVarExpr)) { in ActOnVar()
1367 if (auto *SubScrpt = dyn_cast<ArraySubscriptExpr>(CurVarExpr)) in ActOnVar()
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
HDExprClassification.cpp237 if (cast<ArraySubscriptExpr>(E)->getBase()->getType()->isVectorType()) in ClassifyInternal()
238 return ClassifyInternal(Ctx, cast<ArraySubscriptExpr>(E)->getBase()); in ClassifyInternal()
242 auto *Base = cast<ArraySubscriptExpr>(E)->getBase()->IgnoreImpCasts(); in ClassifyInternal()
HDExpr.cpp2550 if (isa<ArraySubscriptExpr>(E)) in isReadIfDiscardedInCPlusPlus11()
2721 Loc = cast<ArraySubscriptExpr>(this)->getRBracketLoc(); in isUnusedResultAWarning()
2722 R1 = cast<ArraySubscriptExpr>(this)->getLHS()->getSourceRange(); in isUnusedResultAWarning()
2723 R2 = cast<ArraySubscriptExpr>(this)->getRHS()->getSourceRange(); in isUnusedResultAWarning()
3016 return cast<ArraySubscriptExpr>(E)->getBase()->isOBJCGCCandidate(Ctx); in isOBJCGCCandidate()
4167 if (const ArraySubscriptExpr *ASE = dyn_cast<ArraySubscriptExpr>(E)) in refersToVectorElement()
4244 const auto *Array1 = dyn_cast<ArraySubscriptExpr>(E1); in isSameComparisonOperand()
4245 const auto *Array2 = dyn_cast<ArraySubscriptExpr>(E2); in isSameComparisonOperand()
5093 dyn_cast<ArraySubscriptExpr>(Base->IgnoreParenImpCasts())) { in getBaseOriginalType()
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
HDThreadSafetyCommon.h45 class ArraySubscriptExpr; variable
436 til::SExpr *translateArraySubscriptExpr(const ArraySubscriptExpr *E,
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
HDReachableCode.cpp631 const ArraySubscriptExpr *ASE = cast<ArraySubscriptExpr>(S); in GetUnreachableLoc()
HDUnsafeBufferUsage.cpp415 AST_MATCHER(ArraySubscriptExpr, isSafeArraySubscript) { in AST_MATCHER() argument
642 const ArraySubscriptExpr *ASE;
647 ASE(Result.Nodes.getNodeAs<ArraySubscriptExpr>(ArraySubscrTag)) {} in ArraySubscriptGadget()
1035 const ArraySubscriptExpr *Node;
1040 Node(Result.Nodes.getNodeAs<ArraySubscriptExpr>(ULCArraySubscriptTag)) { in ULCArraySubscriptGadget()
1178 const auto *ArraySubst = cast<ArraySubscriptExpr>(Node->getSubExpr()); in getClaimedVarUseSites()
2090 const auto *ArraySub = cast<ArraySubscriptExpr>(Node->getSubExpr()); in fixUPCAddressofArraySubscriptWithSpan()
HDThreadSafetyCommon.cpp265 return translateArraySubscriptExpr(cast<ArraySubscriptExpr>(S), Ctx); in translate()
641 SExprBuilder::translateArraySubscriptExpr(const ArraySubscriptExpr *E, in translateArraySubscriptExpr()
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
HDExplodedGraph.cpp53 return isa<DeclRefExpr, MemberExpr, ObjCIvarRefExpr, ArraySubscriptExpr>(Ex); in isInterestingLValueExpr()
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
HDPtrTypesSemantics.cpp370 bool VisitArraySubscriptExpr(const ArraySubscriptExpr *ASE) { in VisitArraySubscriptExpr()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Edit/
HDRewriteObjCFoundationAPI.cpp890 if (isa<ArraySubscriptExpr>(Expr) || in subscriptOperatorNeedsParens()
912 if (isa<ArraySubscriptExpr>(Expr) || in castOperatorNeedsParens()
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
HDASTMatchers.h2032 extern const internal::VariadicDynCastAllOfMatcher<Stmt, ArraySubscriptExpr>
5701 AST_MATCHER_P(ArraySubscriptExpr, hasIndex, in AST_MATCHER_P() argument
5718 AST_MATCHER_P(ArraySubscriptExpr, hasBase, in AST_MATCHER_P() argument
5976 ArraySubscriptExpr, CXXFoldExpr), in AST_POLYMORPHIC_MATCHER_P() argument
5993 ArraySubscriptExpr, CXXFoldExpr), in AST_POLYMORPHIC_MATCHER_P() argument
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/
HDStmtNodes.td72 def ArraySubscriptExpr : StmtNode<Expr>;
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
HDCompiler.h140 bool VisitArraySubscriptExpr(const ArraySubscriptExpr *E);

123