diff options
| author | Ted Kremenek <kremenek@apple.com> | 2014-03-05 23:46:07 +0000 |
|---|---|---|
| committer | Ted Kremenek <kremenek@apple.com> | 2014-03-05 23:46:07 +0000 |
| commit | 63d540399b189955e6caf5b8024981eedd215a07 (patch) | |
| tree | 4e3c177e92af40562af8e7501a5e0c9b8233865c /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 3fa9b8e2c45eb398661c35f8cdc1f97492187b87 (diff) | |
| download | clang-63d540399b189955e6caf5b8024981eedd215a07.tar.gz clang-63d540399b189955e6caf5b8024981eedd215a07.tar.bz2 clang-63d540399b189955e6caf5b8024981eedd215a07.tar.xz | |
[-Wunreachable-code] generalize pruning out warning on trivial returns.
Previously we only pruned dead returns preceded by a call to a
'noreturn' function. After looking at the results of the LLVM codebase,
there are many others that should be pruned as well.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203029 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
