Fields

hardware None
os None

Parameters

Fields

NameValue

Parameters

NameValue
git_commit commit 3f151a3fa6ccb00523d8e0e36fa8d9046d5a936f
Author: Hristo Hristov <hristo.goshev.hristov@gmail.com>
Date: Thu Nov 20 04:19:15 2025 +0200

[libc++][memory] Applied `[[nodiscard]]` to smart pointers (#168483)

Applied `[[nodiscard]]` where relevant to smart pointers and related
functions.

- [x] - `std::unique_ptr`
- [x] - `std::shared_ptr`
- [x] - `std::weak_ptr`

See guidelines:
-
https://libcxx.llvm.org/CodingGuidelines.html#apply-nodiscard-where-relevant
- `[[nodiscard]]` should be applied to functions where discarding the
return value is most likely a correctness issue. For example a locking
constructor in unique_lock.

---------

Co-authored-by: Hristo Hristov <zingam@outlook.com>
Filter

ldionne-old-macbook-results test results

Run Order Start Time Duration
Current 560110 2025-12-16T16:40:01 0:00:00
Previous 560036 2025-12-16T16:40:01 0:00:00
Baseline 485288 2025-12-16T16:40:01 0:00:00


Tests Summary

Status Group # # (B)
Performance Regressions 4 0
Added Tests 0 16
Unchanged Tests 76 64
Total Tests 80

Performance Regressions - execution_time Δ Previous Current σ Δ (B) σ (B)
727_cppcheck_r 3.12% 24.856 25.631 - 0.00% -
710_omnetpp_r 2.51% 8.521 8.734 - 0.00% -
753_ns3_r 1.46% 10.131 10.279 - 0.00% -
748_flightdm_r 1.00% 8.885 8.974 - 0.00% -

Added Tests - execution_time
706_stockfish_r
707_ntest_r
709_cactus_r
710_omnetpp_r
721_gcc_r
723_llvm_r
727_cppcheck_r
729_abc_r
731_astcenc_r
735_gem5_r
736_ocio_r
737_gmsh_r
748_flightdm_r
750_sealcrypto_r
753_ns3_r
766_femflow_r


Report Time: 0.08s
Name Current %
706_stockfish_r 21.602 -
707_ntest_r 16.489 -
709_cactus_r 19.793 -
710_omnetpp_r 8.734 2.51%
721_gcc_r 12.941 -
723_llvm_r 11.560 -
727_cppcheck_r 25.631 3.12%
729_abc_r 18.792 -
731_astcenc_r 10.084 -
735_gem5_r 13.372 -
736_ocio_r 16.198 -
737_gmsh_r 12.848 -
748_flightdm_r 8.974 1.00%
750_sealcrypto_r 18.486 -
753_ns3_r 10.279 1.46%
766_femflow_r 12.957 -
Geometric Mean 14.206 -