diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-01-08 06:54:40 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-01-08 06:54:40 +0000 |
commit | b35635e9423491a29a00feea80db645ada95ab7b (patch) | |
tree | 2876ac2ce769d280fe2d512de4044c38b8fbcaed /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | bf4832cda8c3f8c8b7eff06be4594cac02ddf6b4 (diff) | |
download | bcm5719-llvm-b35635e9423491a29a00feea80db645ada95ab7b.tar.gz bcm5719-llvm-b35635e9423491a29a00feea80db645ada95ab7b.zip |
Remove a kludge from analysis based warnings that used to detect
temporaries with no-return destructors. The CFG now properly supports
temporaries and implicit destructors which both makes this kludge no
longer work, and conveniently removes the need for it.
Turn on CFG handling of implicit destructors and initializers. Several
ad-hoc benchmarks don't indicate any measurable performance impact from
growing the CFG, and it fixes real correctness problems with warnings.
As a result of turning on these CFG elements, we started to tickle an
inf-loop in the unreachable code logic used for warnings. The fix is
trivial.
llvm-svn: 123056
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions