[Webkit-unassigned] [Bug 197307] New: check-webkit-style complains the first block in while loop.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 25 23:19:45 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=197307

            Bug ID: 197307
           Summary: check-webkit-style complains the first block in while
                    loop.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Takashi.Komori at sony.com
                CC: lforschler at apple.com

Created attachment 368304

  --> https://bugs.webkit.org/attachment.cgi?id=368304&action=review

sample

Code below is reported as an style error.
>ERROR: wrongly-style-checked-block.cpp:18:  This { should be at the end of the previous line  [whitespace/braces] [4]

void funcB()
{
    while (true) {
        {
            int y;
        }
    }
}

But the code below is not.

void funcA()
{
    while (true) {
        int x;
        {
            int y;
        }
    }
}

-- 
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/20190426/e26ea24e/attachment.html>


More information about the webkit-unassigned mailing list