OSDN Git Service

Remove unnecessary fallthrough annotation after unreachable
authorReid Kleckner <rnk@google.com>
Thu, 1 Nov 2018 19:11:05 +0000 (19:11 +0000)
committerReid Kleckner <rnk@google.com>
Thu, 1 Nov 2018 19:11:05 +0000 (19:11 +0000)
commitcf5c71234a4fdc146ffa0632cc09c452408c7a09
tree95f02431e229cc05899d7662268a1beab1f0df3f
parent2ef07e92b85a36c2bd4a72d23cbb2fb64747dffa
Remove unnecessary fallthrough annotation after unreachable

Clang's -Wimplicit-fallthrough implementation warns on this. I built
clang with GCC 7.3 in +asserts and -asserts mode, and GCC doesn't warn
on this in either configuration. I think it is unnecessary. I separated
it from the large mechanical patch (https://reviews.llvm.org/D53950) in
case I am wrong and it has to be reverted.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@345876 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/FunctionComparator.cpp