Skip to content

Conversation

@H-G-Hristov
Copy link
Contributor

[[nodiscard]] should be applied to functions where discarding the return value is most likely a correctness issue.

@github-actions
Copy link

github-actions bot commented Dec 8, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

@H-G-Hristov H-G-Hristov force-pushed the hgh/libcxx/nodiscard-to-type-support branch 4 times, most recently from 89f6dbb to bf7c620 Compare December 8, 2025 05:57
@H-G-Hristov
Copy link
Contributor Author

@H-G-Hristov H-G-Hristov force-pushed the hgh/libcxx/nodiscard-to-type-support branch 2 times, most recently from 981c48f to 545dce5 Compare December 8, 2025 16:06
[[nodiscard]] should be applied to functions where discarding the return value is most likely a correctness issue.

- https://libcxx.llvm.org/CodingGuidelines.html
@H-G-Hristov H-G-Hristov force-pushed the hgh/libcxx/nodiscard-to-type-support branch from 545dce5 to 4936b77 Compare December 10, 2025 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant