UNCONFIRMED 80018
check-webkit-style should not complaint about '{' at the beginning of a code block
https://bugs.webkit.org/show_bug.cgi?id=80018
Summary check-webkit-style should not complaint about '{' at the beginning of a code ...
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.