reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/AnalysisBasedWarnings.cpp
  670   if (CD.checkDiagnostics(Diags, ReturnsVoid, HasNoReturn))
  691         EmitDiag(RBrace, CD.diag_MaybeFallThrough_HasNoReturn);
  693         EmitDiag(RBrace, CD.diag_MaybeFallThrough_ReturnsNonVoid);
  697         EmitDiag(RBrace, CD.diag_AlwaysFallThrough_HasNoReturn);
  699         EmitDiag(RBrace, CD.diag_AlwaysFallThrough_ReturnsNonVoid);
  702       if (ReturnsVoid && !HasNoReturn && CD.diag_NeverFallThroughOrReturn) {
  704           S.Diag(LBrace, CD.diag_NeverFallThroughOrReturn) << 0 << FD;
  706           S.Diag(LBrace, CD.diag_NeverFallThroughOrReturn) << 1 << MD;
  708           S.Diag(LBrace, CD.diag_NeverFallThroughOrReturn);