Searched refs:NBody (Results 1 – 1 of 1) sorted by relevance
15674 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyStmtBody() local15675 if (!NBody) in DiagnoseEmptyStmtBody()15679 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyStmtBody()15682 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyStmtBody()15683 Diag(NBody->getSemiLoc(), diag::note_empty_body_on_separate_line); in DiagnoseEmptyStmtBody()15705 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyLoopBody() local15706 if (!NBody) in DiagnoseEmptyLoopBody()15710 if (Diags.isIgnored(DiagID, NBody->getSemiLoc())) in DiagnoseEmptyLoopBody()15714 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyLoopBody()15747 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyLoopBody()[all …]