[cfe-commits] Nitpick

David Blaikie dblaikie at gmail.com
Wed Jan 9 21:41:44 PST 2013


On Wed, Jan 9, 2013 at 9:02 PM, Nikola Smiljanic <popizdeh at gmail.com> wrote:
> Pass false instead of 0 since isStar parameter of getArray has type bool. No
> functionality change.

Did you find this with a warning or other tool, or simply by inspection?

I think I was trying to enhance Clang's warning to catch cases like
this (since they can easily be confusing when passing parameters to a
function, for example) but might not have finished that.

> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>



More information about the cfe-commits mailing list