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 | cc893386bc9ffbe7d45e2a01193b0a4696fae196 (patch) | |
tree | 801566707f9b8096c82c5bc0307aa8653979a54a /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | f353919e8eb8e9ce7fafcb3df22588a89c55c017 (diff) | |
download | bcm5719-llvm-cc893386bc9ffbe7d45e2a01193b0a4696fae196.tar.gz bcm5719-llvm-cc893386bc9ffbe7d45e2a01193b0a4696fae196.zip |
[-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.
llvm-svn: 202328
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions