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.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()