[all-commits] [llvm/llvm-project] ddd770: [libc++] Applied `[[nodiscard]]` to `<exception>`, ...
Hristo Hristov via All-commits
all-commits at lists.llvm.org
Sat Dec 6 06:11:16 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ddd770d97b2c4a071d4cd9cb471ed9a397e0135c
https://github.com/llvm/llvm-project/commit/ddd770d97b2c4a071d4cd9cb471ed9a397e0135c
Author: Hristo Hristov <hghristov.rmm at gmail.com>
Date: 2025-12-06 (Sat, 06 Dec 2025)
Changed paths:
M libcxx/include/__exception/exception.h
M libcxx/include/__exception/nested_exception.h
M libcxx/include/__exception/operations.h
M libcxx/include/__system_error/error_category.h
M libcxx/include/__system_error/error_code.h
M libcxx/include/__system_error/error_condition.h
M libcxx/include/__system_error/system_error.h
M libcxx/include/stdexcept
A libcxx/test/libcxx/diagnostics/syserr/nodiscard.verify.cpp
M libcxx/test/libcxx/language.support/nodiscard.verify.cpp
Log Message:
-----------
[libc++] Applied `[[nodiscard]]` to `<exception>`, `<stdexcept>` and `<system_error>` (#170837)
[[nodiscard]] should be applied to functions where discarding the return
value is most likely a correctness issue.
- https://libcxx.llvm.org/CodingGuidelines.html
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