Lines Matching defs:CheckFallThroughDiagnostics
418 struct CheckFallThroughDiagnostics { struct
419 unsigned diag_MaybeFallThrough_HasNoReturn;
420 unsigned diag_MaybeFallThrough_ReturnsNonVoid;
421 unsigned diag_AlwaysFallThrough_HasNoReturn;
422 unsigned diag_AlwaysFallThrough_ReturnsNonVoid;
423 unsigned diag_NeverFallThroughOrReturn;
424 enum { Function, Block, Lambda } funMode;
425 SourceLocation FuncLoc;
427 static CheckFallThroughDiagnostics MakeForFunction(const Decl *Func) { in MakeForFunction()
460 static CheckFallThroughDiagnostics MakeForBlock() { in MakeForBlock()
475 static CheckFallThroughDiagnostics MakeForLambda() { in MakeForLambda()
490 bool checkDiagnostics(DiagnosticsEngine &D, bool ReturnsVoid, in checkDiagnostics()