Searched refs:NBody (Results 1 – 1 of 1) sorted by relevance
13496 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyStmtBody() local13497 if (!NBody) in DiagnoseEmptyStmtBody()13501 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyStmtBody()13504 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyStmtBody()13505 Diag(NBody->getSemiLoc(), diag::note_empty_body_on_separate_line); in DiagnoseEmptyStmtBody()13527 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyLoopBody() local13528 if (!NBody) in DiagnoseEmptyLoopBody()13532 if (Diags.isIgnored(DiagID, NBody->getSemiLoc())) in DiagnoseEmptyLoopBody()13536 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyLoopBody()13569 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyLoopBody()[all …]