Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransRetainReleaseDealloc.cpp366 auto *DeclS = dyn_cast_or_null<DeclStmt>(*CompStmtChild.begin()); in checkForGCDOrXPC() local
367 if (!DeclS) in checkForGCDOrXPC()
369 if (!DeclS->isSingleDecl()) in checkForGCDOrXPC()
371 VarDecl *VD = dyn_cast_or_null<VarDecl>(DeclS->getSingleDecl()); in checkForGCDOrXPC()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DConsumed.cpp839 void ConsumedStmtVisitor::VisitDeclStmt(const DeclStmt *DeclS) { in VisitDeclStmt() argument
840 for (const auto *DI : DeclS->decls()) in VisitDeclStmt()
844 if (DeclS->isSingleDecl()) in VisitDeclStmt()
845 if (const auto *Var = dyn_cast_or_null<VarDecl>(DeclS->getSingleDecl())) in VisitDeclStmt()
846 PropagationMap.insert(PairType(DeclS, PropagationInfo(Var))); in VisitDeclStmt()