Hristo Hristov 3a8894d7af
[libc++][numeric] Marked saturation artithmetic functions as [[nodiscard]] (#166898)
...according to Coding Guidelines: *`[[nodiscard]]` should be applied to
functions where discarding the return value is most likely a correctness
issue.*

# References
-
https://libcxx.llvm.org/CodingGuidelines.html#apply-nodiscard-where-relevant
-
https://github.com/llvm/llvm-project/pull/166524#issuecomment-3495567876

Co-authored-by: Hristo Hristov <zingam@outlook.com>
2025-11-09 05:39:36 +02:00
..