diff options
| author | Ted Kremenek <kremenek@apple.com> | 2014-03-06 01:09:45 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2014-03-06 01:09:45 +0000 |
| commit | f09edf7292998f3e93f8026005bc544cb8f34178 (patch) | |
| tree | edbad03dcd3b3edf7fcf918815028daea43e81e6 /lib/CodeGen/CodeGenAction.cpp | |
| parent | b182cdf142ecce079c19aea8981309237a78202f (diff) | |
| download | clang-f09edf7292998f3e93f8026005bc544cb8f34178.tar.gz clang-f09edf7292998f3e93f8026005bc544cb8f34178.tar.bz2 clang-f09edf7292998f3e93f8026005bc544cb8f34178.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@203051 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions
