Searched refs:NBody (Results 1 – 1 of 1) sorted by relevance
16782 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyStmtBody() local16783 if (!NBody) in DiagnoseEmptyStmtBody()16787 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyStmtBody()16790 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyStmtBody()16791 Diag(NBody->getSemiLoc(), diag::note_empty_body_on_separate_line); in DiagnoseEmptyStmtBody()16813 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyLoopBody() local16814 if (!NBody) in DiagnoseEmptyLoopBody()16818 if (Diags.isIgnored(DiagID, NBody->getSemiLoc())) in DiagnoseEmptyLoopBody()16822 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyLoopBody()16855 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyLoopBody()[all …]