Searched refs:NBody (Results 1 – 1 of 1) sorted by relevance
15333 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyStmtBody() local15334 if (!NBody) in DiagnoseEmptyStmtBody()15338 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyStmtBody()15341 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyStmtBody()15342 Diag(NBody->getSemiLoc(), diag::note_empty_body_on_separate_line); in DiagnoseEmptyStmtBody()15364 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyLoopBody() local15365 if (!NBody) in DiagnoseEmptyLoopBody()15369 if (Diags.isIgnored(DiagID, NBody->getSemiLoc())) in DiagnoseEmptyLoopBody()15373 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyLoopBody()15406 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyLoopBody()[all …]