diff options
author | Reid Kleckner <rnk@google.com> | 2018-11-01 18:24:03 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2018-11-01 18:24:03 +0000 |
commit | 60cce5c78267cced3ec9bbb24f8e94b88b7710d4 (patch) | |
tree | d2b4dabe267b9d4c49a1883c7e0a65b5f87bf565 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | b34a0528528ea553a79e08f889686f44a9eef0f1 (diff) | |
download | llvm-60cce5c78267cced3ec9bbb24f8e94b88b7710d4.zip llvm-60cce5c78267cced3ec9bbb24f8e94b88b7710d4.tar.gz llvm-60cce5c78267cced3ec9bbb24f8e94b88b7710d4.tar.bz2 |
Use C++11 fallthrough attribute syntax when available and add a break
Summary:
This silences the two -Wimplicit-fallthrough warnings clang finds in
ItaniumDemangle.h in libc++abi.
Clang does not have a GNU attribute spelling for this attribute, so this
is necessary.
I will commit the same change to the LLVM demangler soon.
Reviewers: EricWF, ldionne
Subscribers: christof, erik.pilkington, cfe-commits
Differential Revision: https://reviews.llvm.org/D53985
llvm-svn: 345870
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions