summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2013-09-10 22:57:15 +0000
committerEli Friedman <eli.friedman@gmail.com>2013-09-10 22:57:15 +0000
commitdc41d791f9949f8674d8709b35c72ea1e4168ae9 (patch)
treea0b36083bf8b65b274b6addf04fa1cabb7b22954 /llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
parent1891f693238be703c46265520aa781c64ebe9e75 (diff)
downloadbcm5719-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/TwoAddressInstructionPass.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud