Bug 80018

Summary: check-webkit-style should not complaint about '{' at the beginning of a code block
Product: WebKit Reporter: Robin Cao <robin.webkit>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Robin Cao
Reported 2012-03-01 03:41:53 PST
From patch https://bugs.webkit.org/attachment.cgi?id=129676, check-webkit-style complained about the following: if (condition) { { MutexLocker locker(m_mutex); doSomeThings(); } doOtherThings(); } Source/WebCore/platform/graphics/blackberry/LayerTiler.cpp:160: This { should be at the end of the previous line [whitespace/braces] [4] This is a false positive. The second '{' is used to scope the MutexLocker, it should not be at the end of the previous line.
Attachments
Note You need to log in before you can comment on or make changes to this bug.