summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.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
commitbafe46fe35ff58cc10487ba8bdcbcccd6d3319e7 (patch)
tree80d75092ec67268fd4004dc568c84a6179419d95 /lib/CodeGen/CGExpr.cpp
parente8bcd4c8e5a867c52bef3837731e44b88eba6a36 (diff)
downloadclang-bafe46fe35ff58cc10487ba8bdcbcccd6d3319e7.tar.gz
clang-bafe46fe35ff58cc10487ba8bdcbcccd6d3319e7.tar.bz2
clang-bafe46fe35ff58cc10487ba8bdcbcccd6d3319e7.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190443 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions