llvm-project
9036e235 - [libc++] Apply `[[nodiscard]]` to `in/out_ptr` (#167097)

Commit
166 days ago
[libc++] Apply `[[nodiscard]]` to `in/out_ptr` (#167097) ...according to Coding Guidelines: `[[nodiscard]]` should be applied to functions where discarding the return value is most likely a correctness issue. Changes to: - [x] `inout_ptr()` - [x] `out_ptr()` At the time of impelentation the `[[nodiscard]]` policy has not been established yet. --------- Co-authored-by: Hristo Hristov <zingam@outlook.com>
Author
Parents
Loading