aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-mc/Disassembler.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2011-02-23 01:52:04 +0000
committerTed Kremenek <kremenek@apple.com>2011-02-23 01:52:04 +0000
commit3427fac7c883efbb1097ac9ba13198b95c9fbccb (patch)
tree90b45ab6b5b03a98eef401300c9b0d989f6252b8 /llvm/tools/llvm-mc/Disassembler.cpp
parent80861ca9b53545dd1579a9853807e780952a55da (diff)
downloadllvm-3427fac7c883efbb1097ac9ba13198b95c9fbccb.zip
llvm-3427fac7c883efbb1097ac9ba13198b95c9fbccb.tar.gz
llvm-3427fac7c883efbb1097ac9ba13198b95c9fbccb.tar.bz2
Enhance Sema::DiagRuntimeBehavior() to delay some diagnostics to see if the related code is reachable. This suppresses some
diagnostics that occur in unreachable code (e.g., -Warray-bound). We only pay the cost of doing the reachability analysis when we issue one of these diagnostics. llvm-svn: 126290
Diffstat (limited to 'llvm/tools/llvm-mc/Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions