[all-commits] [llvm/llvm-project] 9a03a3: [libc++][unordered_map] Applied `[[nodiscard]]` (#...

Hristo Hristov via All-commits all-commits at lists.llvm.org
Sun Dec 14 19:56:41 PST 2025


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

  Changed paths:
    M libcxx/include/unordered_map
    M libcxx/test/libcxx/containers/unord/unord.map/at.abort.pass.cpp
    M libcxx/test/libcxx/containers/unord/unord.map/at.const.abort.pass.cpp
    M libcxx/test/libcxx/diagnostics/unordered_map.nodiscard.verify.cpp

  Log Message:
  -----------
  [libc++][unordered_map] Applied `[[nodiscard]]` (#170423)

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

- https://libcxx.llvm.org/CodingGuidelines.html
- https://wg21.link/unord.map



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