Searched refs:NBody (Results 1 – 1 of 1) sorted by relevance
9330 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyStmtBody() local9331 if (!NBody) in DiagnoseEmptyStmtBody()9335 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyStmtBody()9338 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyStmtBody()9339 Diag(NBody->getSemiLoc(), diag::note_empty_body_on_separate_line); in DiagnoseEmptyStmtBody()9361 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyLoopBody() local9362 if (!NBody) in DiagnoseEmptyLoopBody()9366 if (Diags.isIgnored(DiagID, NBody->getSemiLoc())) in DiagnoseEmptyLoopBody()9370 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyLoopBody()9405 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyLoopBody()[all …]