<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - check-webkit-style: Don't complain about returning value from Objective-C method call in header"
href="https://bugs.webkit.org/show_bug.cgi?id=144395">144395</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>check-webkit-style: Don't complain about returning value from Objective-C method call in header
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>528+ (Nightly build)
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Unspecified
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>Tools / Tests
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ddkilzer@webkit.org
</td>
</tr>
<tr>
<th>CC</th>
<td>aestes@apple.com, mitz@webkit.org
</td>
</tr></table>
<p>
<div>
<pre>In <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Switch QuickLook soft-linking to use QuickLookSoftLink.{h,mm}"
href="show_bug.cgi?id=144362">Bug 144362</a>, an inline method was added to SoftLinking.h that returned the value from an Objective-C method call:
+ inline className *alloc##className##Instance() \
+ { \
+ return [get_##framework##_##className##Class() alloc]; \
+ } \
However, check-webkit-style incorrectly flagged this as a style issue (see <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Switch QuickLook soft-linking to use QuickLookSoftLink.{h,mm}"
href="show_bug.cgi?id=144362#c24">Bug 144362, Comment #24</a>):
ERROR: Source/WebCore/platform/mac/SoftLinking.h:327: Extra space before [ [whitespace/braces] [5]
Additional issues noted while investigating this:
- The category should be "whitespace/brackets", not "whitespace/braces".
- There is no test coverage for the code that checks for "whitespace/brackets".</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>