[all-commits] [llvm/llvm-project] e3d0ac: [libc++][string_view] Applied `[[nodiscard]]` (#16...
Hristo Hristov via All-commits
all-commits at lists.llvm.org
Mon Nov 24 08:45:07 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e3d0ac188665afe96df32bd2841f6b71b05b8790
https://github.com/llvm/llvm-project/commit/e3d0ac188665afe96df32bd2841f6b71b05b8790
Author: Hristo Hristov <hghristov.rmm at gmail.com>
Date: 2025-11-24 (Mon, 24 Nov 2025)
Changed paths:
M libcxx/include/string_view
M libcxx/test/libcxx/diagnostics/string_view.nodiscard.verify.cpp
M libcxx/test/libcxx/strings/string.view/nonnull.verify.cpp
Log Message:
-----------
[libc++][string_view] Applied `[[nodiscard]]` (#169010)
`[[nodiscard]]` should be applied to functions where discarding the
return value is most likely a correctness issue.
- https://libcxx.llvm.org/CodingGuidelines.html#apply-nodiscard-where-relevant
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