aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2018-11-01 17:51:48 +0000
committerReid Kleckner <rnk@google.com>2018-11-01 17:51:48 +0000
commite540d97b108bcc739544065c16ae62c236181b64 (patch)
tree8bea4da74a072ad99fc33e147aa1d07b940d55a1 /clang/lib/Frontend/CompilerInvocation.cpp
parent30d1b19b0b2b48511322739f473a59d256725bdd (diff)
downloadllvm-e540d97b108bcc739544065c16ae62c236181b64.zip
llvm-e540d97b108bcc739544065c16ae62c236181b64.tar.gz
llvm-e540d97b108bcc739544065c16ae62c236181b64.tar.bz2
Replace two fallthrough annotations after covered switch with unreachable
Both preceding switches handle all possible enumerators, so the fallthrough is actually unreachable. This strengthens that to an assertion. The first instance had a comment from 2010 indicating that fallthrough was possible, but that was back when we had a unary operator for offsetof. Now it is its own expression kind, so the annotation was stale. llvm-svn: 345862
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions