Searched refs:NBody (Results 1 – 1 of 1) sorted by relevance
18857 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyStmtBody() local18858 if (!NBody) in DiagnoseEmptyStmtBody()18862 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyStmtBody()18865 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyStmtBody()18866 Diag(NBody->getSemiLoc(), diag::note_empty_body_on_separate_line); in DiagnoseEmptyStmtBody()18888 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyLoopBody() local18889 if (!NBody) in DiagnoseEmptyLoopBody()18893 if (Diags.isIgnored(DiagID, NBody->getSemiLoc())) in DiagnoseEmptyLoopBody()18897 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyLoopBody()18930 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyLoopBody()[all …]