Searched refs:NBody (Results 1 – 2 of 2) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 10352 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 …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaChecking.cpp | 15064 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyStmtBody() local 15065 if (!NBody) in DiagnoseEmptyStmtBody() 15069 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyStmtBody() 15072 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyStmtBody() 15073 Diag(NBody->getSemiLoc(), diag::note_empty_body_on_separate_line); in DiagnoseEmptyStmtBody() 15095 const NullStmt *NBody = dyn_cast<NullStmt>(Body); in DiagnoseEmptyLoopBody() local 15096 if (!NBody) in DiagnoseEmptyLoopBody() 15100 if (Diags.isIgnored(DiagID, NBody->getSemiLoc())) in DiagnoseEmptyLoopBody() 15104 if (!ShouldDiagnoseEmptyStmtBody(SourceMgr, StmtLoc, NBody)) in DiagnoseEmptyLoopBody() 15137 Diag(NBody->getSemiLoc(), DiagID); in DiagnoseEmptyLoopBody() [all …]
|