Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaChecking.cpp15333 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyStmtBody() local
15334 if (!NBody) in DiagnoseEmptyStmtBody()
15338 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyStmtBody()
15341 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyStmtBody()
15342 Diag(NBody->getSemiLoc(), diag::note_empty_body_on_separate_line); in DiagnoseEmptyStmtBody()
15364 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyLoopBody() local
15365 if (!NBody) in DiagnoseEmptyLoopBody()
15369 if (Diags.isIgnored(DiagID, NBody->getSemiLoc())) in DiagnoseEmptyLoopBody()
15373 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyLoopBody()
15406 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyLoopBody()
[all …]