[PATCH] 'size' call that could be replaced with 'empty' on STL containers

Alexander Kornienko alexfh at google.com
Thu Jan 15 05:21:48 PST 2015


This now looks good. Thank you for putting effort into open-sourcing this check!

I still suspect that macros and templates as seen in the test are handled correctly just by coincidence, but it should be easy to fix once any problems are found on the real code.

I'll commit the patch for you.


http://reviews.llvm.org/D6925

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list