[llvm] r307378 - [Sparc] Fix -Wimplicit-fallthrough warning. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 7 03:14:46 PDT 2017
Author: rksimon
Date: Fri Jul 7 03:14:46 2017
New Revision: 307378
URL: http://llvm.org/viewvc/llvm-project?rev=307378&view=rev
Log:
[Sparc] Fix -Wimplicit-fallthrough warning. NFCI.
Modified:
llvm/trunk/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
Modified: llvm/trunk/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp?rev=307378&r1=307377&r2=307378&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp (original)
+++ llvm/trunk/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp Fri Jul 7 03:14:46 2017
@@ -211,6 +211,7 @@ namespace {
case Sparc::fixup_sparc_wplt30:
if (Target.getSymA()->getSymbol().isTemporary())
return false;
+ LLVM_FALLTHROUGH;
case Sparc::fixup_sparc_tls_gd_hi22:
case Sparc::fixup_sparc_tls_gd_lo10:
case Sparc::fixup_sparc_tls_gd_add:
More information about the llvm-commits
mailing list