| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | StmtCXX.h | 146 CXXForRangeStmt(Stmt *InitStmt, DeclStmt *Range, DeclStmt *Begin, 147 DeclStmt *End, Expr *Cond, Expr *Inc, DeclStmt *LoopVar, 161 DeclStmt *getRangeStmt() { return cast<DeclStmt>(SubExprs[RANGE]); } in getRangeStmt() 162 DeclStmt *getBeginStmt() { in getBeginStmt() 163 return cast_or_null<DeclStmt>(SubExprs[BEGINSTMT]); in getBeginStmt() 165 DeclStmt *getEndStmt() { return cast_or_null<DeclStmt>(SubExprs[ENDSTMT]); } in getEndStmt() 168 DeclStmt *getLoopVarStmt() { return cast<DeclStmt>(SubExprs[LOOPVAR]); } in getLoopVarStmt() 171 const DeclStmt *getRangeStmt() const { in getRangeStmt() 172 return cast<DeclStmt>(SubExprs[RANGE]); in getRangeStmt() 174 const DeclStmt *getBeginStmt() const { in getBeginStmt() [all …]
|
| H A D | Stmt.h | 1311 class DeclStmt : public Stmt { 1316 DeclStmt(DeclGroupRef dg, SourceLocation startLoc, SourceLocation endLoc) in DeclStmt() function 1320 explicit DeclStmt(EmptyShell Empty) : Stmt(DeclStmtClass, Empty) {} in DeclStmt() function 1350 auto Children = const_cast<DeclStmt *>(this)->children(); in children() 2083 DeclStmt *getConditionVariableDeclStmt() { in getConditionVariableDeclStmt() 2084 return hasVarStorage() ? static_cast<DeclStmt *>( in getConditionVariableDeclStmt() 2089 const DeclStmt *getConditionVariableDeclStmt() const { in getConditionVariableDeclStmt() 2090 return hasVarStorage() ? static_cast<DeclStmt *>( in getConditionVariableDeclStmt() 2315 DeclStmt *getConditionVariableDeclStmt() { in getConditionVariableDeclStmt() 2316 return hasVarStorage() ? static_cast<DeclStmt *>( in getConditionVariableDeclStmt() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | StmtCXX.cpp | 47 CXXForRangeStmt::CXXForRangeStmt(Stmt *Init, DeclStmt *Range, in CXXForRangeStmt() 48 DeclStmt *BeginStmt, DeclStmt *EndStmt, in CXXForRangeStmt() 49 Expr *Cond, Expr *Inc, DeclStmt *LoopVar, in CXXForRangeStmt() 66 DeclStmt *RangeStmt = getRangeStmt(); in getRangeInit() 77 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()
|
| /openbsd-src/gnu/llvm/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 | 87 if (const DeclStmt *DS = dyn_cast<DeclStmt>(StoreE)) { in checkBind()
|
| H A D | VLASizeChecker.cpp | 35 : public Checker<check::PreStmt<DeclStmt>, 62 void checkPreStmt(const DeclStmt *DS, CheckerContext &C) const; 252 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()
|
| /openbsd-src/gnu/llvm/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 | 1362 void addSyntheticDeclStmt(const DeclStmt *Synthetic, in addSyntheticDeclStmt() 1363 const DeclStmt *Source) { in addSyntheticDeclStmt() 1371 llvm::DenseMap<const DeclStmt *, const DeclStmt *>::const_iterator; 1465 llvm::DenseMap<const DeclStmt *, const DeclStmt *> SyntheticDeclStmts;
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | VarBypassDetector.cpp | 87 const DeclStmt *DS = cast<DeclStmt>(S); in BuildScopeInformation()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ASTStructExtractor.cpp | 68 DeclStmt *curr_decl_stmt = dyn_cast<DeclStmt>(curr_stmt); in ExtractFromFunctionDecl()
|
| /openbsd-src/gnu/llvm/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 | UnsafeBufferUsage.cpp | 377 using DefMapTy = DenseMap<const VarDecl *, const DeclStmt *>; 407 void discoverDecl(const DeclStmt *DS) { in discoverDecl() 420 const DeclStmt *lookupDecl(const VarDecl *VD) const { in lookupDecl() 490 if (const auto *DS = Result.Nodes.getNodeAs<DeclStmt>("any_ds")) { in findGadgets()
|
| 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 | 285 void VisitDeclStmt(DeclStmt *DS); 368 void ClassifyRefs::VisitDeclStmt(DeclStmt *DS) { in VisitDeclStmt() 487 void VisitDeclStmt(DeclStmt *ds); 688 if (const auto *DS = dyn_cast<DeclStmt>(FS->getElement())) { in VisitObjCForCollectionStmt() 769 void TransferFunctions::VisitDeclStmt(DeclStmt *DS) { in VisitDeclStmt()
|
| H A D | CFG.cpp | 572 CFGBlock *VisitDeclStmt(DeclStmt *DS); 573 CFGBlock *VisitDeclSubExpr(DeclStmt *DS); 776 LocalScope* addLocalScopeForDeclStmt(DeclStmt *DS, 2012 if (DeclStmt *DS = dyn_cast<DeclStmt>(SI)) in addLocalScopeForStmt() 2020 if (DeclStmt *DS = dyn_cast<DeclStmt>(S->stripLabelLikeStatements())) in addLocalScopeForStmt() 2026 LocalScope* CFGBuilder::addLocalScopeForDeclStmt(DeclStmt *DS, in addLocalScopeForDeclStmt() 2295 return VisitDeclStmt(cast<DeclStmt>(S)); in Visit() 2902 CFGBlock *CFGBuilder::VisitDeclStmt(DeclStmt *DS) { in VisitDeclStmt() 2915 for (DeclStmt::reverse_decl_iterator I = DS->decl_rbegin(), in VisitDeclStmt() 2923 DeclStmt *DSNew = new (Context) DeclStmt(DG, D->getLocation(), GetEndLoc(D)); in VisitDeclStmt() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/AST/Interp/ |
| H A D | ByteCodeStmtGen.cpp | 170 return visitDeclStmt(cast<DeclStmt>(S)); in visitStmt() 206 bool ByteCodeStmtGen<Emitter>::visitDeclStmt(const DeclStmt *DS) { in visitDeclStmt() 266 if (const DeclStmt *CondDecl = IS->getConditionVariableDeclStmt()) in visitIfStmt()
|
| H A D | ByteCodeStmtGen.h | 57 bool visitDeclStmt(const DeclStmt *DS);
|
| /openbsd-src/gnu/llvm/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;
|
| /openbsd-src/gnu/llvm/clang/docs/ |
| H A D | ClangCheck.rst | 28 (DeclStmt 0x7ff3a302a9f8 <line:2:3, line:3:1>
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | UncountedLocalVarsChecker.cpp | 40 if (auto *DS = parent.begin()->get<DeclStmt>()) { in isDeclaredInForOrIf()
|