[libcxx-commits] [libcxx] [libc++][cmath] Adding `[[nodicard]]` (PR #171763)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Tue Dec 16 01:58:12 PST 2025


https://github.com/philnik777 requested changes to this pull request.

I'm not convinced we should extend the annotations in cmath for now. The current ones have been added to reflect what Clang diagnoses on its own and I'm hesitant to do anything more, since any functions not annotated currently have side-effects.

https://github.com/llvm/llvm-project/pull/171763


More information about the libcxx-commits mailing list