diff options
Diffstat (limited to 'lib/Support/APInt.cpp')
-rw-r--r-- | lib/Support/APInt.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/Support/APInt.cpp b/lib/Support/APInt.cpp index e77fcdbdd2..8b900fb55f 100644 --- a/lib/Support/APInt.cpp +++ b/lib/Support/APInt.cpp @@ -675,12 +675,11 @@ static inline uint32_t hashword(const uint64_t *k64, size_t length) } /*------------------------------------------- handle the last 3 uint32_t's */ - switch(length) /* all the case statements fall through */ - { - case 3 : c+=k[2]; - case 2 : b+=k[1]; - case 1 : a+=k[0]; - final(a,b,c); + switch (length) { /* all the case statements fall through */ + case 3 : c+=k[2]; + case 2 : b+=k[1]; + case 1 : a+=k[0]; + final(a,b,c); case 0: /* case 0: nothing left to add */ break; } |