aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCDisassembler/Disassembler.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
commit7549f0f9bfc5389234a9d2b5a17fc6027a567bb1 (patch)
treeb92444cd2fcaf91649c9a8c9310c387bdb5c2c50 /llvm/lib/MC/MCDisassembler/Disassembler.cpp
parent532018f7a58f9932bea93ba367acd991edd4f83a (diff)
downloadllvm-7549f0f9bfc5389234a9d2b5a17fc6027a567bb1.zip
llvm-7549f0f9bfc5389234a9d2b5a17fc6027a567bb1.tar.gz
llvm-7549f0f9bfc5389234a9d2b5a17fc6027a567bb1.tar.bz2
[-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. llvm-svn: 203051
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions