OSDN Git Service

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)
commit0ebe9c2f816d11eda067a43c9a31b0a42aef8963
tree38c81ad08b8ca36800ba790484686a50e3561212
parent043b10deff1b6e1e06f53bb35939debbc1385f98
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)).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284367 91177308-0d34-0410-b5e6-96231b3b80d8
docs/ReleaseNotes.rst
include/llvm/Support/Compiler.h