diff options
author | Reid Kleckner <rnk@google.com> | 2018-11-01 18:02:27 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2018-11-01 18:02:27 +0000 |
commit | eb56894a4befd0cf6c182af2a8542fe00f73c52c (patch) | |
tree | 451e03359b0bf54dc8e9a50007124ae220f409fb /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | b0cdf56dd72b2d03e203a0c328618a7da15ebf5b (diff) | |
download | llvm-eb56894a4befd0cf6c182af2a8542fe00f73c52c.zip llvm-eb56894a4befd0cf6c182af2a8542fe00f73c52c.tar.gz llvm-eb56894a4befd0cf6c182af2a8542fe00f73c52c.tar.bz2 |
[AArch64] Fix unintended fallthrough and strengthen cast
This was added in r330630. GCC's -Wimplicit-fallthrough seems to not
fire when the previous case contains a switch itself.
This fallthrough was bening because the helper function implementing the
case used dyn_cast to re-check the type of the node in question. After
fixing the fallthrough, we can strengthen the cast.
llvm-svn: 345864
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions