summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorLubos Lunak <l.lunak@suse.cz>2013-07-20 15:05:36 +0000
committerLubos Lunak <l.lunak@suse.cz>2013-07-20 15:05:36 +0000
commitedc138880d8543d60de08be2698b695821888752 (patch)
treeb514814718f9e2069b2d8beda49401e1487fd084 /llvm/lib
parentba5ee4da1dcb6aad861e63467c8fc9ddd69bf8f7 (diff)
downloadbcm5719-llvm-edc138880d8543d60de08be2698b695821888752.tar.gz
bcm5719-llvm-edc138880d8543d60de08be2698b695821888752.zip
add type attribute warn_unused, for -Wunused-variable warnings (pr#14253)
The functionality is equivalent to the GCC attribute. Variables of tagged types will be warned about as unused if they are not used in any way except for possible (even non-trivial) ctors/dtors called. Useful for tagging classes like std::string (which is not part of this commit). llvm-svn: 186765
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud