[all-commits] [llvm/llvm-project] 2684a0: [libc++] Document guidelines for applying [[nodisc...
Nikolas Klauser via All-commits
all-commits at lists.llvm.org
Fri Mar 29 11:34:07 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2684a0966d5c84071c811c68ec25e41a0beb26f4
https://github.com/llvm/llvm-project/commit/2684a0966d5c84071c811c68ec25e41a0beb26f4
Author: Nikolas Klauser <nikolasklauser at berlin.de>
Date: 2024-03-29 (Fri, 29 Mar 2024)
Changed paths:
A libcxx/docs/DesignDocs/NodiscardPolicy.rst
M libcxx/docs/index.rst
Log Message:
-----------
[libc++] Document guidelines for applying [[nodiscard]] (#84000)
We've been applying ``[[nodiscard]]`` more liberally recently, but we
don't have any documented guidance on when it's correct to add it. This
patch adds that guidance. Follow-up patches will gradually apply it to
the code base.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list