[llvm] r213371 - Suppress 'not handled in switch' warning
Renato Golin
renato.golin at linaro.org
Fri Jul 18 05:13:04 PDT 2014
Author: rengolin
Date: Fri Jul 18 07:13:04 2014
New Revision: 213371
URL: http://llvm.org/viewvc/llvm-project?rev=213371&view=rev
Log:
Suppress 'not handled in switch' warning
Modified:
llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
Modified: llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp?rev=213371&r1=213370&r2=213371&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp (original)
+++ llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp Fri Jul 18 07:13:04 2014
@@ -163,6 +163,8 @@ std::string ARM_MC::ParseARMTriple(Strin
case Triple::ARMSubArch_v4t:
ARMArchFeature = "+v4t";
break;
+ case Triple::NoSubArch:
+ break;
}
if (isThumb) {
More information about the llvm-commits
mailing list