Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaChecking.cpp6400 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyStmtBody() local
6401 if (!NBody) in DiagnoseEmptyStmtBody()
6405 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyStmtBody()
6408 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyStmtBody()
6409 Diag(NBody->getSemiLoc(), diag::note_empty_body_on_separate_line); in DiagnoseEmptyStmtBody()
6431 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyLoopBody() local
6432 if (!NBody) in DiagnoseEmptyLoopBody()
6436 if (Diags.getDiagnosticLevel(DiagID, NBody->getSemiLoc()) == in DiagnoseEmptyLoopBody()
6441 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyLoopBody()
6476 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyLoopBody()
[all …]