[PATCH] D54234: Fix -Wimplicit-fallthrough warning
Fangrui Song via Phabricator
reviews at reviews.llvm.org
Wed Nov 7 15:15:16 PST 2018
MaskRay created this revision.
MaskRay added reviewers: EricWF, ldionne, mclow.lists.
Herald added subscribers: libcxx-commits, christof.
Repository:
rCXX libc++
https://reviews.llvm.org/D54234
Files:
include/utility
Index: include/utility
===================================================================
--- include/utility
+++ include/utility
@@ -989,8 +989,10 @@
{
case 3:
__h ^= __data[2] << 16;
+ _LIBCPP_FALLTHROUGH();
case 2:
__h ^= __data[1] << 8;
+ _LIBCPP_FALLTHROUGH();
case 1:
__h ^= __data[0];
__h *= __m;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54234.173048.patch
Type: text/x-patch
Size: 375 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20181107/66586485/attachment.bin>
More information about the libcxx-commits
mailing list