Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaChecking.cpp10352 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyStmtBody() local
10353 if (!NBody) in DiagnoseEmptyStmtBody()
10357 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyStmtBody()
10360 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyStmtBody()
10361 Diag(NBody->getSemiLoc(), diag::note_empty_body_on_separate_line); in DiagnoseEmptyStmtBody()
10383 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyLoopBody() local
10384 if (!NBody) in DiagnoseEmptyLoopBody()
10388 if (Diags.isIgnored(DiagID, NBody->getSemiLoc())) in DiagnoseEmptyLoopBody()
10392 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyLoopBody()
10427 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyLoopBody()
[all …]