Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp490 bool checkDiagnostics(DiagnosticsEngine &D, bool ReturnsVoid, in checkDiagnostics()
493 return (ReturnsVoid || in checkDiagnostics()
499 (!ReturnsVoid || in checkDiagnostics()
504 return ReturnsVoid && !HasNoReturn; in checkDiagnostics()
519 bool ReturnsVoid = false; in CheckFallThroughForBody() local
523 ReturnsVoid = FD->getReturnType()->isVoidType(); in CheckFallThroughForBody()
527 ReturnsVoid = MD->getReturnType()->isVoidType(); in CheckFallThroughForBody()
535 ReturnsVoid = true; in CheckFallThroughForBody()
544 if (CD.checkDiagnostics(Diags, ReturnsVoid, HasNoReturn)) in CheckFallThroughForBody()
556 else if (!ReturnsVoid) in CheckFallThroughForBody()
[all …]