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

LGTM!

> I'm also interested in making an even more agressive step in this direction 
> and adding an option to accept any macro that ends with "...assert" suffix, 
> case-insensitively. This would probably go under an off-by-default flag. 
> Would this be acceptable?

I think that makes sense to me. We should probably look at popular OS SDKs and 
CRTs to see what creative ways they spell assertion macros to make sure those 
are covered as well, like 
https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/assert-asserte-assert-expr-macros?view=msvc-160
 and 
https://docs.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-assertmsg


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95519/new/

https://reviews.llvm.org/D95519

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to