Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAvailability.cpp903 const Stmt *StmtOfUse = StmtStack.back(); in DiagnoseDeclAvailability() local
910 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()