[libcxx-commits] [libcxx] [libc++] Avoid -Wzero-as-null-pointer-constant in operator<=> (PR #79465)

Barry Revzin via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 25 09:29:53 PST 2024


brevzin wrote:

> > Why not just suppress the warning, given that it's a false positive warning in this case?
> 
> The warning is produced by the calling user code, there is no way to silence it.

It is literally impossible for Clang to not diagnose this scenario?

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


More information about the libcxx-commits mailing list