diff options
author | Justin Bogner <mail@justinbogner.com> | 2016-10-17 07:37:11 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2016-10-17 07:37:11 +0000 |
commit | 0ebe9c2f816d11eda067a43c9a31b0a42aef8963 (patch) | |
tree | 38c81ad08b8ca36800ba790484686a50e3561212 /docs | |
parent | 043b10deff1b6e1e06f53bb35939debbc1385f98 (diff) |
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
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ReleaseNotes.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst index 286cb8f316c..b6dfc3d96c7 100644 --- a/docs/ReleaseNotes.rst +++ b/docs/ReleaseNotes.rst @@ -41,6 +41,10 @@ Non-comprehensive list of changes in this release functionality, or simply have a lot to talk about), see the `NOTE` below for adding a new subsection. +* The definition and uses of LLVM_ATRIBUTE_UNUSED_RESULT in the LLVM source + were replaced with LLVM_NODISCARD, which matches the C++17 [[nodiscard]] + semantics rather than gcc's __attribute__((warn_unused_result)). + * ... next change ... .. NOTE |