[all-commits] [llvm/llvm-project] ceea07: [libc++][forward_list] Applied `[[nodiscard]]` (#1...

Hristo Hristov via All-commits all-commits at lists.llvm.org
Mon Nov 24 06:30:38 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ceea07daa8a41562fdd884a224afbac1d7346e3e
      https://github.com/llvm/llvm-project/commit/ceea07daa8a41562fdd884a224afbac1d7346e3e
  Author: Hristo Hristov <hghristov.rmm at gmail.com>
  Date:   2025-11-24 (Mon, 24 Nov 2025)

  Changed paths:
    M libcxx/include/forward_list
    M libcxx/test/libcxx/diagnostics/forward_list.nodiscard.verify.cpp

  Log Message:
  -----------
  [libc++][forward_list] Applied `[[nodiscard]]` (#169019)

`[[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