]> granicus.if.org Git - llvm/commit
[ARM] Fix buildbot failure due to -Werror.
authorSimon Tatham <simon.tatham@arm.com>
Tue, 25 Jun 2019 12:23:46 +0000 (12:23 +0000)
committerSimon Tatham <simon.tatham@arm.com>
Tue, 25 Jun 2019 12:23:46 +0000 (12:23 +0000)
commit5e646b2a5c6e01f5cd1d6fb5a007777a3a18a3b5
tree38147f21bf73f0fe6aa53cc6701f68d4a7e4dc6b
parent07e7622e7c13fb444ecf44e2c4fc35bf2613bac2
[ARM] Fix buildbot failure due to -Werror.

Including both 'case ARM_AM::uxtw' and 'default' in the getShiftOp
switch caused a buildbot to fail with

error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364300 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp