Bug 62215

Summary: Make style/checkers/cpp.py allow comparisons with 0 in LIKELY and UNLIKELY
Product: WebKit Reporter: Dmitry Lomov <dslomov>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: dslomov, levin, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Fix + unit-test none

Dmitry Lomov
Reported 2011-06-07 09:00:46 PDT
cpp_style.py does not currenly allow if (LIKELY(ptr != 0)) ....
Attachments
Fix + unit-test (2.47 KB, patch)
2011-06-07 10:40 PDT, Dmitry Lomov
no flags
Dmitry Lomov
Comment 1 2011-06-07 10:40:10 PDT
Created attachment 96259 [details] Fix + unit-test
WebKit Review Bot
Comment 2 2011-06-07 12:55:15 PDT
Comment on attachment 96259 [details] Fix + unit-test Clearing flags on attachment: 96259 Committed r88256: <http://trac.webkit.org/changeset/88256>
WebKit Review Bot
Comment 3 2011-06-07 12:55:19 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.