[all-commits] [llvm/llvm-project] e22ff9: [libc++][unordered_multiset] Applied `[[nodiscard]...

Hristo Hristov via All-commits all-commits at lists.llvm.org
Sun Dec 14 23:08:54 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e22ff9b3d931792fbdfadaf2f2cd9114229e533e
      https://github.com/llvm/llvm-project/commit/e22ff9b3d931792fbdfadaf2f2cd9114229e533e
  Author: Hristo Hristov <hghristov.rmm at gmail.com>
  Date:   2025-12-15 (Mon, 15 Dec 2025)

  Changed paths:
    M libcxx/include/unordered_set
    A libcxx/test/libcxx/diagnostics/unordered_multiset.nodiscard.verify.cpp

  Log Message:
  -----------
  [libc++][unordered_multiset] Applied `[[nodiscard]]` (#171664)

`[[nodiscard]]` should be applied to functions where discarding the
return value is most likely a correctness issue.

- https://libcxx.llvm.org/CodingGuidelines.htm
- https://wg21.link/unord.multiset



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