/external/clang/include/clang/AST/ |
H A D | StmtCXX.h | 137 CXXForRangeStmt(DeclStmt *Range, DeclStmt *BeginEnd, 138 Expr *Cond, Expr *Inc, DeclStmt *LoopVar, Stmt *Body, 150 DeclStmt *getRangeStmt() { return cast<DeclStmt>(SubExprs[RANGE]); } 151 DeclStmt *getBeginEndStmt() { 152 return cast_or_null<DeclStmt>(SubExprs[BEGINEND]); 156 DeclStmt *getLoopVarStmt() { return cast<DeclStmt>(SubExprs[LOOPVAR]); } 159 const DeclStmt *getRangeStm [all...] |
H A D | Stmt.h | 438 /// DeclStmt - Adaptor class for mixing declarations with statements and 443 class DeclStmt : public Stmt { class in namespace:clang 448 DeclStmt(DeclGroupRef dg, SourceLocation startLoc, function in class:clang::DeclStmt 453 explicit DeclStmt(EmptyShell Empty) : Stmt(DeclStmtClass, Empty) { } function in class:clang::DeclStmt 455 /// isSingleDecl - This method returns true if this DeclStmt refers 893 /// If this IfStmt has a condition variable, return the faux DeclStmt 895 const DeclStmt *getConditionVariableDeclStmt() const { 896 return reinterpret_cast<DeclStmt*>(SubExprs[VAR]); 966 /// If this SwitchStmt has a condition variable, return the faux DeclStmt 968 const DeclStmt *getConditionVariableDeclStm [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | UndefinedAssignmentChecker.cpp | 78 if (const DeclStmt *DS = dyn_cast<DeclStmt>(StoreE)) {
|
H A D | CheckerDocumentation.cpp | 38 check::PostStmt<DeclStmt>, 80 /// check::PostStmt<DeclStmt> 81 void checkPostStmt(const DeclStmt *DS, CheckerContext &C) const; 306 void CheckerDocumentation::checkPostStmt(const DeclStmt *DS,
|
H A D | VLASizeChecker.cpp | 31 class VLASizeChecker : public Checker< check::PreStmt<DeclStmt> > { 40 void checkPreStmt(const DeclStmt *DS, CheckerContext &C) const; 79 void VLASizeChecker::checkPreStmt(const DeclStmt *DS, CheckerContext &C) const {
|
H A D | DereferenceChecker.cpp | 116 } else if (const DeclStmt *DS = dyn_cast<DeclStmt>(S)) {
|
H A D | LLVMConventionsChecker.cpp | 133 void VisitDeclStmt(DeclStmt *DS); 145 void StringRefCheckerVisitor::VisitDeclStmt(DeclStmt *S) {
|
H A D | DeadStoresChecker.cpp | 313 else if (const DeclStmt *DS = dyn_cast<DeclStmt>(S))
|
H A D | MallocSizeofChecker.cpp | 103 TypeCallPair VisitDeclStmt(const DeclStmt *S) {
|
/external/clang/lib/Analysis/ |
H A D | PseudoConstantAnalysis.cpp | 172 const DeclStmt *DS = cast<DeclStmt>(Head);
|
H A D | LiveVariables.cpp | 210 void VisitDeclStmt(DeclStmt *DS); 291 const DeclStmt *DS = cast<DeclStmt>(S); 377 void TransferFunctions::VisitDeclStmt(DeclStmt *DS) { 391 if (DeclStmt *DS = dyn_cast<DeclStmt>(element)) {
|
H A D | UninitializedValues.cpp | 326 void VisitDeclStmt(DeclStmt *DS); 375 void ClassifyRefs::VisitDeclStmt(DeclStmt *DS) { 455 void VisitDeclStmt(DeclStmt *ds); 626 if (DeclStmt *DS = dyn_cast<DeclStmt>(FS->getElement())) { 694 void TransferFunctions::VisitDeclStmt(DeclStmt *DS) {
|
H A D | CFG.cpp | 375 CFGBlock *VisitDeclStmt(DeclStmt *DS); 376 CFGBlock *VisitDeclSubExpr(DeclStmt *DS); 446 LocalScope* addLocalScopeForDeclStmt(DeclStmt *DS, 1193 if (DeclStmt *DS = dyn_cast<DeclStmt>(SI)) 1200 // interesting only for DeclStmt. 1201 if (DeclStmt *DS = dyn_cast<DeclStmt>(S->stripLabelLikeStatements())) 1207 LocalScope* CFGBuilder::addLocalScopeForDeclStmt(DeclStmt *DS, 1402 return VisitDeclStmt(cast<DeclStmt>( [all...] |
/external/lldb/source/Expression/ |
H A D | ASTStructExtractor.cpp | 80 DeclStmt *curr_decl_stmt = dyn_cast<DeclStmt>(curr_stmt);
|
/external/clang/lib/AST/ |
H A D | StmtPrinter.cpp | 67 void PrintRawDeclStmt(const DeclStmt *S); 127 void StmtPrinter::PrintRawDeclStmt(const DeclStmt *S) { 136 void StmtPrinter::VisitDeclStmt(DeclStmt *Node) { 180 if (const DeclStmt *DS = If->getConditionVariableDeclStmt()) 220 if (const DeclStmt *DS = Node->getConditionVariableDeclStmt()) 239 if (const DeclStmt *DS = Node->getConditionVariableDeclStmt()) 266 if (DeclStmt *DS = dyn_cast<DeclStmt>(Node->getInit())) 294 if (DeclStmt *DS = dyn_cast<DeclStmt>(Nod [all...] |
H A D | Stmt.cpp | 788 CXXForRangeStmt::CXXForRangeStmt(DeclStmt *Range, DeclStmt *BeginEndStmt, 789 Expr *Cond, Expr *Inc, DeclStmt *LoopVar, 802 DeclStmt *RangeStmt = getRangeStmt(); 813 Decl *LV = cast<DeclStmt>(getLoopVarStmt())->getSingleDecl(); 836 DeclStmt *DS = cast<DeclStmt>(SubExprs[VAR]); 847 SubExprs[VAR] = new (C) DeclStmt(DeclGroupRef(V), VarRange.getBegin(), 867 DeclStmt *DS = cast<DeclStmt>(SubExpr [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SubEngine.h | 77 virtual void processStaticInitializer(const DeclStmt *DS,
|
/external/clang/lib/ARCMigrate/ |
H A D | TransRetainReleaseDealloc.cpp | 235 if (DeclStmt *DS = dyn_cast<DeclStmt>(S)) { 371 DeclStmt *DeclS = dyn_cast_or_null<DeclStmt>(*CompStmtChild);
|
H A D | TransAutoreleasePool.cpp | 170 if (DeclStmt *DclS = dyn_cast<DeclStmt>(child)) { 420 DeclStmt *Dcl;
|
/external/lldb/include/lldb/Core/ |
H A D | ClangForward.h | 54 class DeclStmt;
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineObjC.cpp | 78 if (const DeclStmt *DS = dyn_cast<DeclStmt>(elem)) {
|
/external/clang/tools/libclang/ |
H A D | IndexBody.cpp | 134 bool VisitDeclStmt(DeclStmt *S) {
|
/external/clang/include/clang/Analysis/ |
H A D | CFG.h | 884 /// Records a synthetic DeclStmt and the DeclStmt it was constructed from. 886 /// The CFG uses synthetic DeclStmts when a single AST DeclStmt contains 888 void addSyntheticDeclStmt(const DeclStmt *Synthetic, 889 const DeclStmt *Source) { 896 typedef llvm::DenseMap<const DeclStmt *, const DeclStmt *>::const_iterator 980 /// source DeclStmt. 981 llvm::DenseMap<const DeclStmt *, const DeclStmt *> SyntheticDeclStmt [all...] |
/external/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 627 DeclStmt> declStmt; 2041 /// \brief Matches the Decl of a DeclStmt which has a single declaration. 2050 AST_MATCHER_P(DeclStmt, hasSingleDecl, internal::Matcher<Decl>, InnerMatcher) { 2145 AST_MATCHER_P(DeclStmt, declCountIs, unsigned, N) { 2152 /// breaks up multiple-declaration DeclStmt's into multiple single-declaration 2153 /// DeclStmt's. 2168 AST_MATCHER_P2(DeclStmt, containsDeclaration, unsigned, N, 2173 DeclStmt::const_decl_iterator Iterator = Node.decl_begin(); 2448 internal::Matcher<DeclStmt>, InnerMatcher) { 2449 const DeclStmt* cons [all...] |
/external/clang/lib/Sema/ |
H A D | SemaStmt.cpp | 73 return new (Context) DeclStmt(DG, StartLoc, EndLoc); 317 for (; i != NumElts && isa<DeclStmt>(Elts[i]); ++i) 321 for (; i != NumElts && !isa<DeclStmt>(Elts[i]); ++i) 325 Decl *D = *cast<DeclStmt>(Elts[i])->decl_begin(); 1591 if (DeclStmt *DS = dyn_cast_or_null<DeclStmt>(First)) { 1733 if (DeclStmt *DS = dyn_cast<DeclStmt>(First)) { 1909 DeclStmt *DS = dyn_cast<DeclStmt>(Firs [all...] |