Searched refs:StmtOfUse (Results 1 – 1 of 1) sorted by relevance
903 const Stmt *StmtOfUse = StmtStack.back(); in DiagnoseDeclAvailability() local910 if (isBodyLikeChildStmt(StmtOfUse, S)) { in DiagnoseDeclAvailability()916 StmtOfUse = S; in DiagnoseDeclAvailability()919 if (isa<DeclStmt>(StmtOfUse) && Scope) { in DiagnoseDeclAvailability()920 for (const Decl *D : cast<DeclStmt>(StmtOfUse)->decls()) { in DiagnoseDeclAvailability()930 SM.getExpansionLoc(StmtOfUse->getBeginLoc()); in DiagnoseDeclAvailability()933 (LastStmtOfUse ? LastStmtOfUse : StmtOfUse)->getEndLoc()) in DiagnoseDeclAvailability()