Home
last modified time | relevance | path

Searched refs:NBody (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/Sema/
DSemaChecking.cpp9330 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyStmtBody() local
9331 if (!NBody) in DiagnoseEmptyStmtBody()
9335 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyStmtBody()
9338 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyStmtBody()
9339 Diag(NBody->getSemiLoc(), diag::note_empty_body_on_separate_line); in DiagnoseEmptyStmtBody()
9361 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyLoopBody() local
9362 if (!NBody) in DiagnoseEmptyLoopBody()
9366 if (Diags.isIgnored(DiagID, NBody->getSemiLoc())) in DiagnoseEmptyLoopBody()
9370 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyLoopBody()
9405 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyLoopBody()
[all …]