From f3d77e45c45e3bb35a529262ff31c5537d27c1fb Mon Sep 17 00:00:00 2001 From: Erik Pilkington Date: Sat, 6 Aug 2016 01:54:50 +0000 Subject: [PATCH] [NFC] Silence noisy -Wreturn-type warnings llvm-svn: 277906 --- clang/lib/Sema/SemaExpr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index 357a6ad..a4f9606 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -136,7 +136,7 @@ AvailabilityResult Sema::ShouldDiagnoseAvailabilityOfDecl( } switch (Result) { - case AR_Available: + default: return Result; case AR_Unavailable: -- 2.7.4