summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2014-03-06 01:09:45 +0000
committerTed Kremenek <kremenek@apple.com>2014-03-06 01:09:45 +0000
commitf09edf7292998f3e93f8026005bc544cb8f34178 (patch)
treeedbad03dcd3b3edf7fcf918815028daea43e81e6 /lib/CodeGen/CodeGenFunction.cpp
parentb182cdf142ecce079c19aea8981309237a78202f (diff)
downloadclang-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/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions