mirror of
https://github.com/intel/llvm.git
synced 2026-01-14 03:50:17 +08:00
...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>