Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaChecking.cpp13192 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyStmtBody() local
13193 if (!NBody) in DiagnoseEmptyStmtBody()
13197 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyStmtBody()
13200 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyStmtBody()
13201 Diag(NBody->getSemiLoc(), diag::note_empty_body_on_separate_line); in DiagnoseEmptyStmtBody()
13223 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyLoopBody() local
13224 if (!NBody) in DiagnoseEmptyLoopBody()
13228 if (Diags.isIgnored(DiagID, NBody->getSemiLoc())) in DiagnoseEmptyLoopBody()
13232 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyLoopBody()
13265 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyLoopBody()
[all …]