[PATCH] Don't replace macro usage if macro body has NULL

Tareq A. Siraj tareq.a.siraj at intel.com
Mon Mar 18 12:47:54 PDT 2013


  Changes based on review.

  - Include file sorted.
  - Order of comparion with constants fixed.
  - CHECK line fixed.
  - Addressed the question when macro caller is a macro id.
  - Added more testcases.

Hi klimek, revane,

http://llvm-reviews.chandlerc.com/D549

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D549?vs=1307&id=1310#toc

Files:
  cpp11-migrate/UseNullptr/NullptrActions.cpp
  test/cpp11-migrate/UseNullptr/basic.cpp
  test/cpp11-migrate/UseNullptr/macros.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D549.2.patch
Type: text/x-patch
Size: 5834 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130318/aacfb2d7/attachment.bin>


More information about the cfe-commits mailing list