diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2013-09-10 22:57:15 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2013-09-10 22:57:15 +0000 |
commit | dc41d791f9949f8674d8709b35c72ea1e4168ae9 (patch) | |
tree | a0b36083bf8b65b274b6addf04fa1cabb7b22954 /llvm/lib/CodeGen | |
parent | 1891f693238be703c46265520aa781c64ebe9e75 (diff) | |
download | bcm5719-llvm-dc41d791f9949f8674d8709b35c72ea1e4168ae9.tar.gz bcm5719-llvm-dc41d791f9949f8674d8709b35c72ea1e4168ae9.zip |
Add unused markings to suppress warnings.
trunk clang is a bit more aggressive about emitting unused-declaration
warnings, so adjust some AST code to match. Specifically, use
LLVM_ATTRIBUTE_UNUSED for declarations which are never supposed to be
referenced, and turn references to declarations which are supposed to be
referenced into odr-uses.
llvm-svn: 190443
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions