diff options
| author | Leo Testard <leo.testard@gmail.com> | 2015-02-07 13:14:17 +0100 |
|---|---|---|
| committer | Leo Testard <leo.testard@gmail.com> | 2015-02-10 18:27:05 +0100 |
| commit | 73201fd675e6d7d6f1ab6c116a360a39a593de93 (patch) | |
| tree | 1154a10a006c3285a17ab525add26679293ab083 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | b75b21cb9b187a6f836da61769a8110354fd6dad (diff) | |
| download | rust-73201fd675e6d7d6f1ab6c116a360a39a593de93.tar.gz rust-73201fd675e6d7d6f1ab6c116a360a39a593de93.zip | |
Make the live code analysis visit method declarations.
The live code analysis only visited the function's body when visiting a method, and not the FnDecl and the generics, resulting in code to be incorrectly marked as unused when it only appeared in the generics, the arguments, or the return type, whereas the same code in non-method functions was correctly detected as used. Fixes #20343.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
