summaryrefslogtreecommitdiffstats
path: root/libcxx/include
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2018-11-07 23:51:13 +0000
committerFangrui Song <maskray@google.com>2018-11-07 23:51:13 +0000
commit892bbd3f88b9f44efeb4fa9156e569c188d600f3 (patch)
tree9fa87cd74883836f719c2d4c1fb907a209c81ebf /libcxx/include
parent162da63e05eecfdb2664b447f6574b39819aa3eb (diff)
downloadbcm5719-llvm-892bbd3f88b9f44efeb4fa9156e569c188d600f3.tar.gz
bcm5719-llvm-892bbd3f88b9f44efeb4fa9156e569c188d600f3.zip
Fix -Wimplicit-fallthrough warning
Reviewers: EricWF, ldionne, mclow.lists Reviewed By: ldionne Subscribers: christof, libcxx-commits Differential Revision: https://reviews.llvm.org/D54234 llvm-svn: 346369
Diffstat (limited to 'libcxx/include')
-rw-r--r--libcxx/include/utility2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/utility b/libcxx/include/utility
index 30e26f163e9..1dce49df4da 100644
--- a/libcxx/include/utility
+++ b/libcxx/include/utility
@@ -989,8 +989,10 @@ __murmur2_or_cityhash<_Size, 32>::operator()(const void* __key, _Size __len)
{
case 3:
__h ^= __data[2] << 16;
+ _LIBCPP_FALLTHROUGH();
case 2:
__h ^= __data[1] << 8;
+ _LIBCPP_FALLTHROUGH();
case 1:
__h ^= __data[0];
__h *= __m;
OpenPOWER on IntegriCloud