diff options
| author | Ted Kremenek <kremenek@apple.com> | 2014-02-27 00:24:08 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2014-02-27 00:24:08 +0000 |
| commit | 05a09c8f63fb61abaeb1e3bb4da9db87aaa4ec8d (patch) | |
| tree | f2f72dd4de4dbaa6b95b0ca5b52d4dcd7799126f /lib/Serialization/ModuleManager.cpp | |
| parent | 7e6444be66752afdbca2bf08ff2092bd64ee809d (diff) | |
| download | clang-05a09c8f63fb61abaeb1e3bb4da9db87aaa4ec8d.tar.gz clang-05a09c8f63fb61abaeb1e3bb4da9db87aaa4ec8d.tar.bz2 clang-05a09c8f63fb61abaeb1e3bb4da9db87aaa4ec8d.tar.xz | |
[-Wunreachable-code] Prune out unreachable warnings where a 'break' is preceded by a call to a 'noreturn' function.
For example:
unreachable();
break;
This code is idiomatic and defensive. The fact that 'break' is
unreachable here is not interesting. This occurs frequently
in LLVM/Clang itself.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202328 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions
