Support: Drop LLVM_ATTRIBUTE_UNUSED_RESULT
authorJustin Bogner <mail@justinbogner.com>
Mon, 17 Oct 2016 07:37:11 +0000 (07:37 +0000)
committerJustin Bogner <mail@justinbogner.com>
Mon, 17 Oct 2016 07:37:11 +0000 (07:37 +0000)
commit73fc15a9891f59ce46f65e19f2b89b589c154b20
treefe28d5da6ed5e251c322bb3a0afcd493999bf601
parentfe183d7e96b4ff90224df1ff486d1ad894cf10cf
Support: Drop LLVM_ATTRIBUTE_UNUSED_RESULT

Uses of this have all been updated to use LLVM_NODISCARD, which
matches the C++17 [[nodiscard]] semantics rather than those of GCC's
__attribute__((warn_unused_result)).

llvm-svn: 284367
llvm/docs/ReleaseNotes.rst
llvm/include/llvm/Support/Compiler.h