aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-12-17 21:57:17 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-12-17 21:57:17 +0000
commit6c93b3e29c56d14eab570ce62cd646a95f0c1403 (patch)
tree69fbc580587cf8545f536f5fda9b6663791920a5 /llvm/lib/Object/MachOObjectFile.cpp
parent4de56ef736fedb64d059fa6a922abd10b5f18690 (diff)
downloadllvm-6c93b3e29c56d14eab570ce62cd646a95f0c1403.zip
llvm-6c93b3e29c56d14eab570ce62cd646a95f0c1403.tar.gz
llvm-6c93b3e29c56d14eab570ce62cd646a95f0c1403.tar.bz2
Adding a -Wunused-value warning for expressions with side effects used in an unevaluated expression context, such as sizeof(), or decltype(). Also adds a similar warning when the expression passed to typeid() *is* evaluated, since it is equally likely that the user would expect the expression operand to be unevaluated in that case.
llvm-svn: 224465
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions