| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | StmtCXX.h | 147 CXXForRangeStmt(Stmt *InitStmt, DeclStmt *Range, DeclStmt *Begin, 148 DeclStmt *End, Expr *Cond, Expr *Inc, DeclStmt *LoopVar, 162 DeclStmt *getRangeStmt() { return cast<DeclStmt>(SubExprs[RANGE]); } in getRangeStmt() 163 DeclStmt *getBeginStmt() { in getBeginStmt() 166 DeclStmt *getEndStmt() { return cast_or_null<DeclStmt>(SubExprs[ENDSTMT]); } in getEndStmt() 169 DeclStmt *getLoopVarStmt() { return cast<DeclStmt>(SubExprs[LOOPVAR]); } in getLoopVarStmt() 172 const DeclStmt *getRangeStmt() const { in getRangeStmt() 173 return cast<DeclStmt>(SubExprs[RANGE]); in getRangeStmt() 175 const DeclStmt *getBeginStmt() const { in getBeginStmt() 178 const DeclStmt *getEndStmt() const { in getEndStmt() [all …]
|
| H A D | Stmt.h | 1495 class DeclStmt : public Stmt { 2269 DeclStmt *getConditionVariableDeclStmt() { in getConditionVariableDeclStmt() 2270 return hasVarStorage() ? static_cast<DeclStmt *>( in getConditionVariableDeclStmt() 2276 return hasVarStorage() ? static_cast<DeclStmt *>( in getConditionVariableDeclStmt() 2506 DeclStmt *getConditionVariableDeclStmt() { in getConditionVariableDeclStmt() 2507 return hasVarStorage() ? static_cast<DeclStmt *>( in getConditionVariableDeclStmt() 2513 return hasVarStorage() ? static_cast<DeclStmt *>( in getConditionVariableDeclStmt() 2674 DeclStmt *getConditionVariableDeclStmt() { in getConditionVariableDeclStmt() 2675 return hasVarStorage() ? static_cast<DeclStmt *>( in getConditionVariableDeclStmt() 2681 return hasVarStorage() ? static_cast<DeclStmt *>( in getConditionVariableDeclStmt() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | StmtCXX.cpp | 48 CXXForRangeStmt::CXXForRangeStmt(Stmt *Init, DeclStmt *Range, in CXXForRangeStmt() 49 DeclStmt *BeginStmt, DeclStmt *EndStmt, in CXXForRangeStmt() 50 Expr *Cond, Expr *Inc, DeclStmt *LoopVar, in CXXForRangeStmt() 67 DeclStmt *RangeStmt = getRangeStmt(); in getRangeInit() 78 Decl *LV = cast<DeclStmt>(getLoopVarStmt())->getSingleDecl(); in getLoopVariable()
|
| H A D | ParentMapContext.cpp | 166 matchParents<DeclStmt, CXXForRangeStmt>(ParentList, this); in getParents() 170 std::get<const DeclStmt *>(AncestorNodes)) in getParents() 174 auto AncestorNodes = matchParents<VarDecl, DeclStmt, CXXForRangeStmt>( in getParents() 179 std::get<const DeclStmt *>(AncestorNodes)) in getParents()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckerDocumentation.cpp | 37 check::PostStmt<DeclStmt>, 82 void checkPostStmt(const DeclStmt *DS, CheckerContext &C) const; 329 void CheckerDocumentation::checkPostStmt(const DeclStmt *DS, in checkPostStmt()
|
| H A D | UndefinedAssignmentChecker.cpp | 81 if (const DeclStmt *DS = dyn_cast<DeclStmt>(StoreE)) { in checkBind()
|
| H A D | VLASizeChecker.cpp | 35 : public Checker<check::PreStmt<DeclStmt>, 61 void checkPreStmt(const DeclStmt *DS, CheckerContext &C) const; 264 void VLASizeChecker::checkPreStmt(const DeclStmt *DS, CheckerContext &C) const { in checkPreStmt()
|
| H A D | LLVMConventionsChecker.cpp | 130 void VisitDeclStmt(DeclStmt *DS); 142 void StringRefCheckerVisitor::VisitDeclStmt(DeclStmt *S) { in VisitDeclStmt()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/ |
| H A D | ConstructionContext.h | 90 ConstructionContextItem(const DeclStmt *DS) in ConstructionContextItem() 317 const DeclStmt *DS; 320 VariableConstructionContext(ConstructionContext::Kind K, const DeclStmt *DS) in VariableConstructionContext() 327 const DeclStmt *getDeclStmt() const { return DS; } in getDeclStmt() 348 explicit SimpleVariableConstructionContext(const DeclStmt *DS) in SimpleVariableConstructionContext() 374 const DeclStmt *DS, const CXXBindTemporaryExpr *BTE) in CXX17ElidedCopyVariableConstructionContext()
|
| H A D | CFG.h | 1350 void addSyntheticDeclStmt(const DeclStmt *Synthetic, in addSyntheticDeclStmt() 1351 const DeclStmt *Source) { in addSyntheticDeclStmt() 1359 llvm::DenseMap<const DeclStmt *, const DeclStmt *>::const_iterator; 1453 llvm::DenseMap<const DeclStmt *, const DeclStmt *> SyntheticDeclStmts;
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | VarBypassDetector.cpp | 87 const DeclStmt *DS = cast<DeclStmt>(S); in BuildScopeInformation()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ASTStructExtractor.cpp | 68 DeclStmt *curr_decl_stmt = dyn_cast<DeclStmt>(curr_stmt); in ExtractFromFunctionDecl()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | LiveVariables.cpp | 173 void VisitDeclStmt(DeclStmt *DS); 254 const DeclStmt *DS = cast<DeclStmt>(S); in Visit() 396 void TransferFunctions::VisitDeclStmt(DeclStmt *DS) { in VisitDeclStmt() 422 if (DeclStmt *DS = dyn_cast<DeclStmt>(element)) { in VisitObjCForCollectionStmt()
|
| H A D | ConstructionContext.cpp | 110 const auto *DS = cast<DeclStmt>(ParentItem.getStmt()); in createBoundTemporaryFromLayers() 179 const auto *DS = cast<DeclStmt>(TopItem.getStmt()); in createFromLayers()
|
| H A D | UninitializedValues.cpp | 303 void VisitDeclStmt(DeclStmt *DS); 386 void ClassifyRefs::VisitDeclStmt(DeclStmt *DS) { in VisitDeclStmt() 505 void VisitDeclStmt(DeclStmt *ds); 684 if (const auto *DS = dyn_cast<DeclStmt>(FS->getElement())) { in VisitObjCForCollectionStmt() 765 void TransferFunctions::VisitDeclStmt(DeclStmt *DS) { in VisitDeclStmt()
|
| H A D | CFG.cpp | 585 CFGBlock *VisitDeclStmt(DeclStmt *DS); 586 CFGBlock *VisitDeclSubExpr(DeclStmt *DS); 791 LocalScope* addLocalScopeForDeclStmt(DeclStmt *DS, 2080 if (DeclStmt *DS = dyn_cast<DeclStmt>(SI)) in addLocalScopeForStmt() 2088 if (DeclStmt *DS = dyn_cast<DeclStmt>(S->stripLabelLikeStatements())) in addLocalScopeForStmt() 2302 return VisitDeclStmt(cast<DeclStmt>(S)); in Visit() 2909 CFGBlock *CFGBuilder::VisitDeclStmt(DeclStmt *DS) { in VisitDeclStmt() 2930 DeclStmt *DSNew = new (Context) DeclStmt(DG, D->getLocation(), GetEndLoc(D)); in VisitDeclStmt() 2942 CFGBlock *CFGBuilder::VisitDeclSubExpr(DeclStmt *DS) { in VisitDeclSubExpr() 3008 DeclStmt *DSNew = in VisitDeclSubExpr() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | TransRetainReleaseDealloc.cpp | 229 if (DeclStmt *DS = dyn_cast<DeclStmt>(S)) { in isPlusOneAssignToVar() 365 auto *DeclS = dyn_cast_or_null<DeclStmt>(*CompStmtChild.begin()); in checkForGCDOrXPC()
|
| H A D | TransAutoreleasePool.cpp | 169 if (DeclStmt *DclS = dyn_cast<DeclStmt>(child)) { in VisitCompoundStmt() 420 DeclStmt *Dcl = nullptr;
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | ByteCodeStmtGen.h | 54 bool visitDeclStmt(const DeclStmt *DS);
|
| H A D | ByteCodeStmtGen.cpp | 250 return visitDeclStmt(cast<DeclStmt>(S)); in visitStmt() 318 bool ByteCodeStmtGen<Emitter>::visitDeclStmt(const DeclStmt *DS) { in visitDeclStmt() 378 if (const DeclStmt *CondDecl = IS->getConditionVariableDeclStmt()) in visitIfStmt()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | LoopUnrolling.cpp | 222 if (const DeclStmt *DS = dyn_cast<DeclStmt>(S)) { in isPossiblyEscaped()
|
| H A D | CheckerHelpers.cpp | 93 } else if (auto PD = dyn_cast_or_null<DeclStmt>(S)) { in parseAssignment()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | ExprEngine.h | 57 class DeclStmt; variable 348 void processStaticInitializer(const DeclStmt *DS, 495 void VisitDeclStmt(const DeclStmt *DS, ExplodedNode *Pred,
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | UncountedLocalVarsChecker.cpp | 39 if (auto *DS = parent.begin()->get<DeclStmt>()) { in isDeclaredInForOrIf()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 81 return new (Context) DeclStmt(DG, StartLoc, EndLoc); in ActOnDeclStmt() 424 for (; i != NumElts && isa<DeclStmt>(Elts[i]); ++i) in ActOnCompoundStmt() 428 for (; i != NumElts && !isa<DeclStmt>(Elts[i]); ++i) in ActOnCompoundStmt() 432 Decl *D = *cast<DeclStmt>(Elts[i])->decl_begin(); in ActOnCompoundStmt() 2149 if (DeclStmt *DS = dyn_cast_or_null<DeclStmt>(First)) { in ActOnForStmt() 2302 if (DeclStmt *DS = dyn_cast<DeclStmt>(First)) { in ActOnObjCForCollectionStmt() 2509 DeclStmt *DS = dyn_cast<DeclStmt>(First); in ActOnCXXForRangeStmt() 2768 DeclStmt *RangeDS = cast<DeclStmt>(RangeDecl); in BuildCXXForRangeStmt() 2772 DeclStmt *LoopVarDS = cast<DeclStmt>(LoopVarDecl); in BuildCXXForRangeStmt() 3073 InitStmt, RangeDS, cast_or_null<DeclStmt>(BeginDeclStmt.get()), in BuildCXXForRangeStmt() [all …]
|