diff options
| author | Ted Kremenek <kremenek@apple.com> | 2014-03-06 00:17:44 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2014-03-06 00:17:44 +0000 |
| commit | 542df791afd9b958cc3f785ff20d7c861ca97868 (patch) | |
| tree | 00e68979c86feb7c1234d182b103e40fe2c2a02e /lib/CodeGen/CodeGenFunction.cpp | |
| parent | c7d11a8ea54863ae58e84fd1a3be94c3c523c6b2 (diff) | |
| download | clang-542df791afd9b958cc3f785ff20d7c861ca97868.tar.gz clang-542df791afd9b958cc3f785ff20d7c861ca97868.tar.bz2 clang-542df791afd9b958cc3f785ff20d7c861ca97868.tar.xz | |
[-Wunreachable-code] Handle idiomatic do...while() with an uninteresting condition.
Sometimes do..while() is used to create a scope that can be left early.
In such cases, the unreachable 'while()' test is not usually interesting
unless it actually does something that is observable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203036 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
