[PATCH] D54234: Fix -Wimplicit-fallthrough warning
Fangrui Song via Phabricator
reviews at reviews.llvm.org
Wed Nov 7 15:54:09 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL346369: Fix -Wimplicit-fallthrough warning (authored by MaskRay, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
https://reviews.llvm.org/D54234
Files:
libcxx/trunk/include/utility
Index: libcxx/trunk/include/utility
===================================================================
--- libcxx/trunk/include/utility
+++ libcxx/trunk/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.173063.patch
Type: text/x-patch
Size: 414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20181107/24406f19/attachment.bin>
More information about the libcxx-commits
mailing list