[PATCH] D31130: B32239 clang-tidy should not warn about array to pointer decay on system macros

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 21 18:23:37 PDT 2017


aaron.ballman reopened this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.

This change was reverted in r298470. The use of the <assert.h> include is a problem because this is not a clang-supplied header file. Also, there's a (good) question about what array decay is happening in the `assert(false)` test case.


https://reviews.llvm.org/D31130





More information about the cfe-commits mailing list