Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransRetainReleaseDealloc.cpp365 auto *DeclS = dyn_cast_or_null<DeclStmt>(*CompStmtChild.begin()); in checkForGCDOrXPC() local
366 if (!DeclS) in checkForGCDOrXPC()
368 if (!DeclS->isSingleDecl()) in checkForGCDOrXPC()
370 VarDecl *VD = dyn_cast_or_null<VarDecl>(DeclS->getSingleDecl()); in checkForGCDOrXPC()
/src/contrib/llvm-project/clang/lib/Analysis/
H A DConsumed.cpp838 void ConsumedStmtVisitor::VisitDeclStmt(const DeclStmt *DeclS) { in VisitDeclStmt() argument
839 for (const auto *DI : DeclS->decls()) in VisitDeclStmt()
843 if (DeclS->isSingleDecl()) in VisitDeclStmt()
844 if (const auto *Var = dyn_cast_or_null<VarDecl>(DeclS->getSingleDecl())) in VisitDeclStmt()
845 PropagationMap.insert(PairType(DeclS, PropagationInfo(Var))); in VisitDeclStmt()