diff options
author | Justin Bogner <mail@justinbogner.com> | 2016-10-14 22:04:17 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2016-10-14 22:04:17 +0000 |
commit | dd5b2afdf60344e053bfb43a4cbaf4ea55e02ae5 (patch) | |
tree | ef1f2dbb6d8c7ab3ae8aca0a6fd18b28c36bf033 /libcxx/test/std/language.support/support.dynamic | |
parent | b715eb450445f86d0677be9b2b20912ebdf7f353 (diff) | |
download | bcm5719-llvm-dd5b2afdf60344e053bfb43a4cbaf4ea55e02ae5.tar.gz bcm5719-llvm-dd5b2afdf60344e053bfb43a4cbaf4ea55e02ae5.zip |
Support: Add LLVM_NODISCARD with C++17's [[nodiscard]] semantics
This is essentially a more powerful version of our current
LLVM_ATTRIBUTE_UNUSED_RESULT, in that it can also be applied to types
and generate warnings whenever an object of that type is returned by
value and the value is discarded.
I'll replace uses of LLVM_ATTRIBUTE_UNUSED_RESULT and remove that
macro in follow up commits.
llvm-svn: 284286
Diffstat (limited to 'libcxx/test/std/language.support/support.dynamic')
0 files changed, 0 insertions, 0 deletions