File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -624,9 +624,7 @@ struct CheckFallThroughDiagnostics {
624624 }
625625};
626626
627- } // anonymous namespace
628-
629- static bool isKnownToAlwaysThrow (const FunctionDecl *FD) {
627+ bool isKnownToAlwaysThrow (const FunctionDecl *FD) {
630628 if (!FD->hasBody ())
631629 return false ;
632630 const Stmt *Body = FD->getBody ();
@@ -651,6 +649,7 @@ static bool isKnownToAlwaysThrow(const FunctionDecl *FD) {
651649 return false ; // Not known to always throw.
652650}
653651
652+ } // anonymous namespace
654653// / CheckFallThroughForBody - Check that we don't fall off the end of a
655654// / function that should return a value. Check that we don't fall off the end
656655// / of a noreturn function. We assume that functions and blocks not marked
You can’t perform that action at this time.
0 commit comments