Lines Matching refs:fscope
2423 static void flushDiagnostics(Sema &S, const sema::FunctionScopeInfo *fscope) { in flushDiagnostics() argument
2424 for (const auto &D : fscope->PossiblyUnreachableDiags) in flushDiagnostics()
2517 sema::AnalysisBasedWarnings::Policy P, sema::FunctionScopeInfo *fscope, in IssueWarnings() argument
2540 flushDiagnostics(S, fscope); in IssueWarnings()
2590 if (!fscope->PossiblyUnreachableDiags.empty()) { in IssueWarnings()
2594 for (const auto &D : fscope->PossiblyUnreachableDiags) { in IssueWarnings()
2601 for (const auto &D : fscope->PossiblyUnreachableDiags) { in IssueWarnings()
2627 flushDiagnostics(S, fscope); in IssueWarnings()
2639 : (fscope->isCoroutine() in IssueWarnings()
2642 CheckFallThroughForBody(S, D, Body, BlockType, CD, AC, fscope); in IssueWarnings()
2721 fscope->HasFallthroughStmt) { in IssueWarnings()
2727 diagnoseRepeatedUseOfWeak(S, fscope, D, AC.getParentMap()); in IssueWarnings()
2741 if (S.getLangOpts().CPlusPlus && !fscope->isCoroutine() && isNoexcept(FD)) in IssueWarnings()