/external/clang/include/clang/AST/ |
D | StmtCXX.h | 140 CXXForRangeStmt(DeclStmt *Range, DeclStmt *Begin, DeclStmt *End, 141 Expr *Cond, Expr *Inc, DeclStmt *LoopVar, Stmt *Body, 154 DeclStmt *getRangeStmt() { return cast<DeclStmt>(SubExprs[RANGE]); } in getRangeStmt() 155 DeclStmt *getBeginStmt() { in getBeginStmt() 156 return cast_or_null<DeclStmt>(SubExprs[BEGINSTMT]); in getBeginStmt() 158 DeclStmt *getEndStmt() { return cast_or_null<DeclStmt>(SubExprs[ENDSTMT]); } in getEndStmt() 161 DeclStmt *getLoopVarStmt() { return cast<DeclStmt>(SubExprs[LOOPVAR]); } in getLoopVarStmt() 164 const DeclStmt *getRangeStmt() const { in getRangeStmt() 165 return cast<DeclStmt>(SubExprs[RANGE]); in getRangeStmt() 167 const DeclStmt *getBeginStmt() const { in getBeginStmt() [all …]
|
D | Stmt.h | 443 class DeclStmt : public Stmt { 448 DeclStmt(DeclGroupRef dg, SourceLocation startLoc, in DeclStmt() function 453 explicit DeclStmt(EmptyShell Empty) : Stmt(DeclStmtClass, Empty) { } in DeclStmt() function 910 const DeclStmt *getConditionVariableDeclStmt() const { in getConditionVariableDeclStmt() 911 return reinterpret_cast<DeclStmt*>(SubExprs[VAR]); in getConditionVariableDeclStmt() 987 const DeclStmt *getConditionVariableDeclStmt() const { in getConditionVariableDeclStmt() 988 return reinterpret_cast<DeclStmt*>(SubExprs[VAR]); in getConditionVariableDeclStmt() 1071 const DeclStmt *getConditionVariableDeclStmt() const { in getConditionVariableDeclStmt() 1072 return reinterpret_cast<DeclStmt*>(SubExprs[VAR]); in getConditionVariableDeclStmt() 1182 const DeclStmt *getConditionVariableDeclStmt() const { in getConditionVariableDeclStmt() [all …]
|
/external/clang/lib/AST/ |
D | StmtCXX.cpp | 52 CXXForRangeStmt::CXXForRangeStmt(DeclStmt *Range, in CXXForRangeStmt() 53 DeclStmt *BeginStmt, DeclStmt *EndStmt, in CXXForRangeStmt() 54 Expr *Cond, Expr *Inc, DeclStmt *LoopVar, in CXXForRangeStmt() 70 DeclStmt *RangeStmt = getRangeStmt(); in getRangeInit() 81 Decl *LV = cast<DeclStmt>(getLoopVarStmt())->getSingleDecl(); in getLoopVariable()
|
D | Stmt.cpp | 782 DeclStmt *DS = cast<DeclStmt>(SubExprs[VAR]); in getConditionVariable() 793 SubExprs[VAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(), in setConditionVariable() 813 DeclStmt *DS = cast<DeclStmt>(SubExprs[CONDVAR]); in getConditionVariable() 824 SubExprs[CONDVAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(), in setConditionVariable() 841 DeclStmt *DS = cast<DeclStmt>(SubExprs[VAR]); in getConditionVariable() 852 SubExprs[VAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(), in setConditionVariable() 875 DeclStmt *DS = cast<DeclStmt>(SubExprs[VAR]); in getConditionVariable() 886 SubExprs[VAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(), in setConditionVariable()
|
D | StmtPrinter.cpp | 69 void PrintRawDeclStmt(const DeclStmt *S); 129 void StmtPrinter::PrintRawDeclStmt(const DeclStmt *S) { in PrintRawDeclStmt() 138 void StmtPrinter::VisitDeclStmt(DeclStmt *Node) { in VisitDeclStmt() 182 if (const DeclStmt *DS = If->getConditionVariableDeclStmt()) in PrintRawIfStmt() 222 if (const DeclStmt *DS = Node->getConditionVariableDeclStmt()) in VisitSwitchStmt() 241 if (const DeclStmt *DS = Node->getConditionVariableDeclStmt()) in VisitWhileStmt() 268 if (DeclStmt *DS = dyn_cast<DeclStmt>(Node->getInit())) in VisitForStmt() 296 if (DeclStmt *DS = dyn_cast<DeclStmt>(Node->getElement())) in VisitObjCForCollectionStmt()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CheckerDocumentation.cpp | 38 check::PostStmt<DeclStmt>, 81 void checkPostStmt(const DeclStmt *DS, CheckerContext &C) const; 320 void CheckerDocumentation::checkPostStmt(const DeclStmt *DS, in checkPostStmt()
|
D | VLASizeChecker.cpp | 31 class VLASizeChecker : public Checker< check::PreStmt<DeclStmt> > { 40 void checkPreStmt(const DeclStmt *DS, CheckerContext &C) const; 81 void VLASizeChecker::checkPreStmt(const DeclStmt *DS, CheckerContext &C) const { in checkPreStmt()
|
D | UndefinedAssignmentChecker.cpp | 78 if (const DeclStmt *DS = dyn_cast<DeclStmt>(StoreE)) { in checkBind()
|
D | LLVMConventionsChecker.cpp | 132 void VisitDeclStmt(DeclStmt *DS); 144 void StringRefCheckerVisitor::VisitDeclStmt(DeclStmt *S) { in VisitDeclStmt()
|
/external/clang/test/Index/ |
D | c-index-getCursor-test.m | 117 // CHECK: [45:11 - 45:12] DeclStmt= 124 // CHECK: [46:18 - 46:19] DeclStmt= 133 // CHECK: [47:26 - 47:27] DeclStmt= 139 // CHECK: [48:14 - 48:15] DeclStmt=
|
D | annotate-literals.m | 60 // CHECK-LITERALS: Punctuation: ";" [41:27 - 41:28] DeclStmt= 79 // CHECK-LITERALS: Punctuation: ";" [44:26 - 44:27] DeclStmt= 87 // CHECK-LITERALS: Punctuation: ";" [45:16 - 45:17] DeclStmt=
|
D | annotate-subscripting.m | 56 // CHECK: Punctuation: ";" [25:27 - 25:28] DeclStmt= 92 // CHECK: Punctuation: ";" [35:59 - 35:60] DeclStmt=
|
D | c-index-api-loadTU-test.m | 114 // CHECK: c-index-api-loadTU-test.m:47:2: DeclStmt= Extent=[47:2 - 47:12] 117 // CHECK: c-index-api-loadTU-test.m:48:2: DeclStmt= Extent=[48:2 - 48:19] 123 // CHECK: c-index-api-loadTU-test.m:49:2: DeclStmt= Extent=[49:2 - 49:27] 130 // CHECK: c-index-api-loadTU-test.m:50:2: DeclStmt= Extent=[50:2 - 50:15]
|
/external/clang/lib/Analysis/ |
D | PseudoConstantAnalysis.cpp | 170 const DeclStmt *DS = cast<DeclStmt>(Head); in RunAnalysis()
|
D | LiveVariables.cpp | 209 void VisitDeclStmt(DeclStmt *DS); 290 const DeclStmt *DS = cast<DeclStmt>(S); in Visit() 372 void TransferFunctions::VisitDeclStmt(DeclStmt *DS) { in VisitDeclStmt() 386 if (DeclStmt *DS = dyn_cast<DeclStmt>(element)) { in VisitObjCForCollectionStmt()
|
D | UninitializedValues.cpp | 327 void VisitDeclStmt(DeclStmt *DS); 408 void ClassifyRefs::VisitDeclStmt(DeclStmt *DS) { in VisitDeclStmt() 514 void VisitDeclStmt(DeclStmt *ds); 685 if (DeclStmt *DS = dyn_cast<DeclStmt>(FS->getElement())) { in VisitObjCForCollectionStmt() 753 void TransferFunctions::VisitDeclStmt(DeclStmt *DS) { in VisitDeclStmt()
|
D | CFG.cpp | 452 CFGBlock *VisitDeclStmt(DeclStmt *DS); 453 CFGBlock *VisitDeclSubExpr(DeclStmt *DS); 588 LocalScope* addLocalScopeForDeclStmt(DeclStmt *DS, 1318 if (DeclStmt *DS = dyn_cast<DeclStmt>(SI)) in addLocalScopeForStmt() 1326 if (DeclStmt *DS = dyn_cast<DeclStmt>(S->stripLabelLikeStatements())) in addLocalScopeForStmt() 1332 LocalScope* CFGBuilder::addLocalScopeForDeclStmt(DeclStmt *DS, in addLocalScopeForDeclStmt() 1527 return VisitDeclStmt(cast<DeclStmt>(S)); in Visit() 2036 CFGBlock *CFGBuilder::VisitDeclStmt(DeclStmt *DS) { in VisitDeclStmt() 2049 for (DeclStmt::reverse_decl_iterator I = DS->decl_rbegin(), in VisitDeclStmt() 2053 unsigned A = llvm::AlignOf<DeclStmt>::Alignment < 8 in VisitDeclStmt() [all …]
|
/external/clang/lib/ARCMigrate/ |
D | TransRetainReleaseDealloc.cpp | 225 if (DeclStmt *DS = dyn_cast<DeclStmt>(S)) { in isPlusOneAssignToVar() 361 auto *DeclS = dyn_cast_or_null<DeclStmt>(*CompStmtChild.begin()); in checkForGCDOrXPC()
|
D | TransAutoreleasePool.cpp | 170 if (DeclStmt *DclS = dyn_cast<DeclStmt>(child)) { in VisitCompoundStmt() 420 DeclStmt *Dcl;
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineObjC.cpp | 78 if (const DeclStmt *DS = dyn_cast<DeclStmt>(elem)) { in VisitObjCForCollectionStmt()
|
D | CheckerHelpers.cpp | 88 } else if (auto PD = dyn_cast_or_null<DeclStmt>(S)) { in parseAssignment()
|
/external/clang/include/clang/Analysis/ |
D | CFG.h | 886 void addSyntheticDeclStmt(const DeclStmt *Synthetic, in addSyntheticDeclStmt() 887 const DeclStmt *Source) { in addSyntheticDeclStmt() 894 typedef llvm::DenseMap<const DeclStmt *, const DeclStmt *>::const_iterator 979 llvm::DenseMap<const DeclStmt *, const DeclStmt *> SyntheticDeclStmts;
|
/external/clang/docs/ |
D | ClangCheck.rst | 28 (DeclStmt 0x7ff3a302a9f8 <line:2:3, line:3:1>
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SubEngine.h | 87 virtual void processStaticInitializer(const DeclStmt *DS,
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 79 return new (Context) DeclStmt(DG, StartLoc, EndLoc); in ActOnDeclStmt() 342 for (; i != NumElts && isa<DeclStmt>(Elts[i]); ++i) in ActOnCompoundStmt() 346 for (; i != NumElts && !isa<DeclStmt>(Elts[i]); ++i) in ActOnCompoundStmt() 350 Decl *D = *cast<DeclStmt>(Elts[i])->decl_begin(); in ActOnCompoundStmt() 1635 if (DeclStmt *DS = dyn_cast_or_null<DeclStmt>(First)) { in ActOnForStmt() 1780 if (DeclStmt *DS = dyn_cast<DeclStmt>(First)) { in ActOnObjCForCollectionStmt() 1972 DeclStmt *DS = dyn_cast<DeclStmt>(First); in ActOnCXXForRangeStmt() 2183 DeclStmt *RangeDS = cast<DeclStmt>(RangeDecl); in BuildCXXForRangeStmt() 2187 DeclStmt *LoopVarDS = cast<DeclStmt>(LoopVarDecl); in BuildCXXForRangeStmt() 2423 RangeDS, cast_or_null<DeclStmt>(BeginDeclStmt.get()), in BuildCXXForRangeStmt() [all …]
|