[Webkit-unassigned] [Bug 80018] New: check-webkit-style should not complaint about '{' at the beginning of a code block
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 1 03:41:53 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=80018
Summary: check-webkit-style should not complaint about '{' at
the beginning of a code block
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: robin.cao at torchmobile.com.cn
>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.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list