Home
last modified time | relevance | path

Searched refs:DeclS (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp371 DeclStmt *DeclS = dyn_cast_or_null<DeclStmt>(*CompStmtChild); in checkForGCDOrXPC() local
372 if (!DeclS) in checkForGCDOrXPC()
374 if (!DeclS->isSingleDecl()) in checkForGCDOrXPC()
376 VarDecl *VD = dyn_cast_or_null<VarDecl>(DeclS->getSingleDecl()); in checkForGCDOrXPC()
/external/clang/lib/Analysis/
DConsumed.cpp846 void ConsumedStmtVisitor::VisitDeclStmt(const DeclStmt *DeclS) { in VisitDeclStmt() argument
847 for (const auto *DI : DeclS->decls()) in VisitDeclStmt()
851 if (DeclS->isSingleDecl()) in VisitDeclStmt()
852 if (const VarDecl *Var = dyn_cast_or_null<VarDecl>(DeclS->getSingleDecl())) in VisitDeclStmt()
853 PropagationMap.insert(PairType(DeclS, PropagationInfo(Var))); in VisitDeclStmt()