Searched refs:NBody (Results 1 – 1 of 1) sorted by relevance
6400 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyStmtBody() local6401 if (!NBody) in DiagnoseEmptyStmtBody()6405 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyStmtBody()6408 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyStmtBody()6409 Diag(NBody->getSemiLoc(), diag::note_empty_body_on_separate_line); in DiagnoseEmptyStmtBody()6431 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyLoopBody() local6432 if (!NBody) in DiagnoseEmptyLoopBody()6436 if (Diags.getDiagnosticLevel(DiagID, NBody->getSemiLoc()) == in DiagnoseEmptyLoopBody()6441 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyLoopBody()6476 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyLoopBody()[all …]