[PATCH] D38954: [Sema] -Wzero-as-null-pointer-constant: don't warn for system macros.
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 16 07:27:29 PDT 2017
lebedev.ri added a comment.
In https://reviews.llvm.org/D38954#898586, @thakis wrote:
> As said on the bug, this matches gcc's behavior,
https://bugs.llvm.org/show_bug.cgi?id=33771#c3
> and with this you won't see this warning for NULL.
Finally, an argument that can actually be addressed.
> I don't think this is better.
Repository:
rL LLVM
https://reviews.llvm.org/D38954
More information about the cfe-commits
mailing list