[libcxx-commits] [libcxx] [libc++] Diagnose passing null pointers to a bunch of APIs (PR #148585)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jul 21 02:10:02 PDT 2025
philnik777 wrote:
> Is there a way to suppress this warning while fixing these diagnostic?
You should be able to use `-Wno-nonnull` (or the appropriate `#pragma clang diagnostic`). BTW, does this find actual bugs for you or are there false-positives I'm not aware of?
https://github.com/llvm/llvm-project/pull/148585
More information about the libcxx-commits
mailing list