[Webkit-unassigned] [Bug 137309] New: [webkitpy] check-webkit-style complains about inlined lambdas
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 1 13:45:08 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=137309
Summary: [webkitpy] check-webkit-style complains about inlined
lambdas
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: zandobersek at gmail.com
CC: svillar at igalia.com
An example that causes a warning when checking style compliance:
return std::any_of(m_children.begin(), m_children.end(),
[](TextureMapperLayer* child) {
return child->descendantsOrSelfHaveRunningAnimations();
});
The style checker does not expect the starting curly brace to be on the first line -- it expects it on the second one instead.
It should be noted that inlined lambdas are already mostly written with the starting curly brace on the same line as the lambda parameters.
--
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