[all-commits] [llvm/llvm-project] ecaf67: [libc++][format] Applied `[[nodiscard]]` to more c...
Hristo Hristov via All-commits
all-commits at lists.llvm.org
Thu Dec 11 20:17:14 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ecaf673850beb241957352bd61e95ed34256635f
https://github.com/llvm/llvm-project/commit/ecaf673850beb241957352bd61e95ed34256635f
Author: Hristo Hristov <hghristov.rmm at gmail.com>
Date: 2025-12-12 (Fri, 12 Dec 2025)
Changed paths:
M libcxx/include/__format/format_args.h
M libcxx/include/__format/format_context.h
M libcxx/include/__format/format_parse_context.h
M libcxx/test/libcxx/diagnostics/format.nodiscard.verify.cpp
Log Message:
-----------
[libc++][format] Applied `[[nodiscard]]` to more classes (#170808)
`[[nodiscard]]` should be applied to functions where discarding the
return value is most likely a correctness issue.
- https://libcxx.llvm.org/CodingGuidelines.html
Some classes in `<format>` were already annotated. This patch completes
the remaining.
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