r277906 - [NFC] Silence noisy -Wreturn-type warnings
Erik Pilkington via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 5 18:54:50 PDT 2016
Author: epilk
Date: Fri Aug 5 20:54:50 2016
New Revision: 277906
URL: http://llvm.org/viewvc/llvm-project?rev=277906&view=rev
Log:
[NFC] Silence noisy -Wreturn-type warnings
Modified:
cfe/trunk/lib/Sema/SemaExpr.cpp
Modified: cfe/trunk/lib/Sema/SemaExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExpr.cpp?rev=277906&r1=277905&r2=277906&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaExpr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExpr.cpp Fri Aug 5 20:54:50 2016
@@ -136,7 +136,7 @@ AvailabilityResult Sema::ShouldDiagnoseA
}
switch (Result) {
- case AR_Available:
+ default:
return Result;
case AR_Unavailable:
More information about the cfe-commits
mailing list