aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/DeltaAlgorithm.cpp
diff options
context:
space:
mode:
authorHristo Hristov <hghristov.rmm@gmail.com>2025-11-09 05:39:36 +0200
committerGitHub <noreply@github.com>2025-11-09 05:39:36 +0200
commit3a8894d7aff1fa4bd2502827c31dad87b5765f4d (patch)
treec13a06a7243c2100fe5d0a7d6c2160841d730bab /llvm/lib/Support/DeltaAlgorithm.cpp
parent32405811bb1a414ef40176b243516631ccd838dc (diff)
downloadllvm-3a8894d7aff1fa4bd2502827c31dad87b5765f4d.zip
llvm-3a8894d7aff1fa4bd2502827c31dad87b5765f4d.tar.gz
llvm-3a8894d7aff1fa4bd2502827c31dad87b5765f4d.tar.bz2
[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>
Diffstat (limited to 'llvm/lib/Support/DeltaAlgorithm.cpp')
0 files changed, 0 insertions, 0 deletions