[PATCH] D38954: [Sema] -Wzero-as-null-pointer-constant: don't warn for system macros other than NULL.

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 25 13:30:57 PDT 2017


lebedev.ri updated this revision to Diff 120305.
lebedev.ri added a comment.

Rebased now that https://reviews.llvm.org/D39301 has landed.


Repository:
  rL LLVM

https://reviews.llvm.org/D38954

Files:
  docs/ReleaseNotes.rst
  lib/Sema/Sema.cpp
  test/SemaCXX/Inputs/warn-zero-nullptr.h
  test/SemaCXX/warn-zero-nullptr.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38954.120305.patch
Type: text/x-patch
Size: 5189 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171025/9e7f1ef4/attachment-0001.bin>


More information about the cfe-commits mailing list