[Webkit-unassigned] [Bug 189815] New: check-webkit-style complains about weird indentation when line has leading C-style comment
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 20 20:08:31 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=189815
Bug ID: 189815
Summary: check-webkit-style complains about weird indentation
when line has leading C-style comment
Product: WebKit
Version: WebKit Local Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: dbates at webkit.org
CC: aakash_jain at apple.com, dean_johnson at apple.com,
jbedard at apple.com, lforschler at apple.com
Consider the following code:
0. int windowsKeyCodeForKeyCode(uint16_t keyCode)
1. {
2. static const int windowsKeyCode[] = {
3. /* 0 */ VK_A,
4. }
5. return 0;
6. }
check-webkit-style complains that line 3 has a "Weird number of spaces at line-start. Are you using a 4-space indent?" even though the start of the C-style comment is on a 4 space boundary.
Compare the behavior to this code:
0. int windowsKeyCodeForKeyCode(uint16_t keyCode)
1. {
2. static const int windowsKeyCode[] = {
3. VK_A,
4. }
5. return 0;
6. }
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180921/694ba7a0/attachment.html>
More information about the webkit-unassigned
mailing list