Author: aaronballman Date: Wed Nov 11 07:42:02 2015 New Revision: 252727 URL: http://llvm.org/viewvc/llvm-project?rev=252727&view=rev Log: Silencing a -Wreturn-type warning for control reaching the end of a non-void function.
Modified: cfe/trunk/lib/Basic/Targets.cpp Modified: cfe/trunk/lib/Basic/Targets.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=252727&r1=252726&r2=252727&view=diff ============================================================================== --- cfe/trunk/lib/Basic/Targets.cpp (original) +++ cfe/trunk/lib/Basic/Targets.cpp Wed Nov 11 07:42:02 2015 @@ -5839,6 +5839,7 @@ public: case CK_NIAGARA4: return CG_V9; } + llvm_unreachable("Unexpected CPU kind"); } CPUKind getCPUKind(StringRef Name) const { _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits