Searched refs:NBody (Results 1 – 1 of 1) sorted by relevance
14929 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyStmtBody() local14930 if (!NBody) in DiagnoseEmptyStmtBody()14934 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyStmtBody()14937 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyStmtBody()14938 Diag(NBody->getSemiLoc(), diag::note_empty_body_on_separate_line); in DiagnoseEmptyStmtBody()14960 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyLoopBody() local14961 if (!NBody) in DiagnoseEmptyLoopBody()14965 if (Diags.isIgnored(DiagID, NBody->getSemiLoc())) in DiagnoseEmptyLoopBody()14969 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyLoopBody()15002 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyLoopBody()[all …]