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 | 0a69cabd35f18294c75dcf768f7f5442f2f802d7 (patch) | |
tree | 9af5b0a2de69b1ba954fe747f1ceeb9f186ac1a3 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 6766f8d23bcb9d17f2694b962fb9ba44cb048232 (diff) | |
download | llvm-0a69cabd35f18294c75dcf768f7f5442f2f802d7.zip llvm-0a69cabd35f18294c75dcf768f7f5442f2f802d7.tar.gz llvm-0a69cabd35f18294c75dcf768f7f5442f2f802d7.tar.bz2 |
[-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.
llvm-svn: 203029
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions