Home
last modified time | relevance | path

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

/external/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp361 auto *DeclS = dyn_cast_or_null<DeclStmt>(*CompStmtChild.begin()); in checkForGCDOrXPC() local
362 if (!DeclS) in checkForGCDOrXPC()
364 if (!DeclS->isSingleDecl()) in checkForGCDOrXPC()
366 VarDecl *VD = dyn_cast_or_null<VarDecl>(DeclS->getSingleDecl()); in checkForGCDOrXPC()
/external/clang/lib/Analysis/
DConsumed.cpp852 void ConsumedStmtVisitor::VisitDeclStmt(const DeclStmt *DeclS) { in VisitDeclStmt() argument
853 for (const auto *DI : DeclS->decls()) in VisitDeclStmt()
857 if (DeclS->isSingleDecl()) in VisitDeclStmt()
858 if (const VarDecl *Var = dyn_cast_or_null<VarDecl>(DeclS->getSingleDecl())) in VisitDeclStmt()
859 PropagationMap.insert(PairType(DeclS, PropagationInfo(Var))); in VisitDeclStmt()