[libcxx] r346369 - Fix -Wimplicit-fallthrough warning
Fangrui Song
maskray at google.com
Wed Nov 7 15:51:13 PST 2018
Author: maskray
Date: Wed Nov 7 15:51:13 2018
New Revision: 346369
URL: http://llvm.org/viewvc/llvm-project?rev=346369&view=rev
Log:
Fix -Wimplicit-fallthrough warning
Reviewers: EricWF, ldionne, mclow.lists
Reviewed By: ldionne
Subscribers: christof, libcxx-commits
Differential Revision: https://reviews.llvm.org/D54234
Modified:
libcxx/trunk/include/utility
Modified: libcxx/trunk/include/utility
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/utility?rev=346369&r1=346368&r2=346369&view=diff
==============================================================================
--- libcxx/trunk/include/utility (original)
+++ libcxx/trunk/include/utility Wed Nov 7 15:51:13 2018
@@ -989,8 +989,10 @@ __murmur2_or_cityhash<_Size, 32>::operat
{
case 3:
__h ^= __data[2] << 16;
+ _LIBCPP_FALLTHROUGH();
case 2:
__h ^= __data[1] << 8;
+ _LIBCPP_FALLTHROUGH();
case 1:
__h ^= __data[0];
__h *= __m;
More information about the libcxx-commits
mailing list