Searched refs:NBody (Results 1 – 1 of 1) sorted by relevance
13192 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyStmtBody() local13193 if (!NBody) in DiagnoseEmptyStmtBody()13197 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyStmtBody()13200 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyStmtBody()13201 Diag(NBody->getSemiLoc(), diag::note_empty_body_on_separate_line); in DiagnoseEmptyStmtBody()13223 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyLoopBody() local13224 if (!NBody) in DiagnoseEmptyLoopBody()13228 if (Diags.isIgnored(DiagID, NBody->getSemiLoc())) in DiagnoseEmptyLoopBody()13232 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyLoopBody()13265 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyLoopBody()[all …]