NEW 96944
check-webkit-style should warn when using booleans where enums are better
https://bugs.webkit.org/show_bug.cgi?id=96944
Summary check-webkit-style should warn when using booleans where enums are better
Eric Seidel (no email)
Reported 2012-09-17 12:35:21 PDT
check-webkit-style should warn when using booleans where enums are better Cases where bools are used in multi-argument functions are almost always wrong and should be enums instead. foo(baz, true) and void bar(void* ptr, bool baz = true) are just confusing and check-webkit-style should warn and instruct individuals to fix them with enums.
Attachments
Note You need to log in before you can comment on or make changes to this bug.