r357467 - Fix Wimplicit-fallthrough warning introduced in rL357466. NFCI.
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 2 04:25:38 PDT 2019
Author: rksimon
Date: Tue Apr 2 04:25:38 2019
New Revision: 357467
URL: http://llvm.org/viewvc/llvm-project?rev=357467&view=rev
Log:
Fix Wimplicit-fallthrough warning introduced in rL357466. NFCI.
Modified:
cfe/trunk/lib/Basic/Targets/PPC.h
Modified: cfe/trunk/lib/Basic/Targets/PPC.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets/PPC.h?rev=357467&r1=357466&r2=357467&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets/PPC.h (original)
+++ cfe/trunk/lib/Basic/Targets/PPC.h Tue Apr 2 04:25:38 2019
@@ -188,6 +188,7 @@ public:
// Don't use floating point registers on soft float ABI.
if (FloatABI == SoftFloat)
return false;
+ LLVM_FALLTHROUGH;
case 'b': // Base register
Info.setAllowsRegister();
break;
More information about the cfe-commits
mailing list