This is an archive of the discontinued LLVM Phabricator instance.

Fix for llvm.org/PR23161
ClosedPublic

Authored by eszasip on May 7 2015, 7:43 AM.

Details

Reviewers
alexfh
Summary

The misc-static-assert check will not warn on the followings:

  • assert(NULL == "shouldn't warn");
  • assert(__null == "shouldn't warn");

Where NULL is a macro defined as __null.

Diff Detail

Event Timeline

eszasip updated this revision to Diff 25183.May 7 2015, 7:43 AM
eszasip retitled this revision from to Fix for llvm.org/PR23161.
eszasip updated this object.
eszasip edited the test plan for this revision. (Show Details)
eszasip added a reviewer: alexfh.
eszasip added a subscriber: Unknown Object (MLST).
alexfh accepted this revision.May 7 2015, 8:46 AM
alexfh edited edge metadata.

Awesome! Thanks!

LG

This revision is now accepted and ready to land.May 7 2015, 8:46 AM
eszasip closed this revision.May 8 2015, 1:02 AM

Committed: r236812.