Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp491 bool HasNoReturn) const { in checkDiagnostics()
496 (!HasNoReturn || in checkDiagnostics()
504 return ReturnsVoid && !HasNoReturn; in checkDiagnostics()
520 bool HasNoReturn = false; in CheckFallThroughForBody() local
524 HasNoReturn = FD->isNoReturn(); in CheckFallThroughForBody()
528 HasNoReturn = MD->hasAttr<NoReturnAttr>(); in CheckFallThroughForBody()
537 HasNoReturn = true; in CheckFallThroughForBody()
544 if (CD.checkDiagnostics(Diags, ReturnsVoid, HasNoReturn)) in CheckFallThroughForBody()
554 if (HasNoReturn) in CheckFallThroughForBody()
560 if (HasNoReturn) in CheckFallThroughForBody()
[all …]
/external/llvm-project/clang/lib/Sema/
DAnalysisBasedWarnings.cpp607 bool HasNoReturn) const { in checkDiagnostics()
612 (!HasNoReturn || in checkDiagnostics()
623 (!HasNoReturn); in checkDiagnostics()
626 return ReturnsVoid && !HasNoReturn; in checkDiagnostics()
643 bool HasNoReturn = false; in CheckFallThroughForBody() local
651 HasNoReturn = FD->isNoReturn(); in CheckFallThroughForBody()
655 HasNoReturn = MD->hasAttr<NoReturnAttr>(); in CheckFallThroughForBody()
663 HasNoReturn = true; in CheckFallThroughForBody()
670 if (CD.checkDiagnostics(Diags, ReturnsVoid, HasNoReturn)) in CheckFallThroughForBody()
690 if (HasNoReturn) in CheckFallThroughForBody()
[all …]