[Webkit-unassigned] [Bug 227320] New: Style incorrectly reports error Code inside a namespace should not be indented

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 23 14:41:38 PDT 2021


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

            Bug ID: 227320
           Summary: Style incorrectly reports error Code inside a
                    namespace should not be indented
           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: jean-yves.avenard at apple.com

In a constructor, if we use a method in a namespace like:

```
AudioSampleBufferCompressor::AudioSampleBufferCompressor()
    : m_serialDispatchQueue { WorkQueue::create("com.apple.AudioSampleBufferCompressor") }
    , m_lowWaterTime { PAL::CMTimeMakeWithSeconds(LOW_WATER_TIME_IN_SECONDS, 1000) }
{
}
```

Style EWS complains that:
Code inside a namespace should not be indented.  [whitespace/indent] [4] due to the PAL::CMTimeMakeWithSeconds 

The code above is perfectly valid.

-- 
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/20210623/79dd1cc2/attachment.htm>


More information about the webkit-unassigned mailing list