about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorKiet Tran <ktt3ja@gmail.com>2014-01-11 03:21:53 -0500
committerKiet Tran <ktt3ja@gmail.com>2014-01-12 13:54:36 -0500
commitdeb3ca53a8d462d36283bdcb2ae796f25b3d2209 (patch)
tree784374731e0e2290f701b40285edfbd368c3164d /src/rustllvm/RustWrapper.cpp
parent1fda761e9cc5b5bf9d5f0897f1556958a7746bf5 (diff)
downloadrust-deb3ca53a8d462d36283bdcb2ae796f25b3d2209.tar.gz
rust-deb3ca53a8d462d36283bdcb2ae796f25b3d2209.zip
Mark allowed dead code and lang items as live
Dead code pass now explicitly checks for `#[allow(dead_code)]` and
`#[lang=".."]` attributes on items and marks them as live if they have
those attributes. The former is done so that if we want to suppress
warnings for a group of dead functions, we only have to annotate the
"root" of the call chain.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions