NEW227320
Style incorrectly reports error Code inside a namespace should not be indented
https://bugs.webkit.org/show_bug.cgi?id=227320
Summary Style incorrectly reports error Code inside a namespace should not be indented
Jean-Yves Avenard [:jya]
Reported 2021-06-23 14:41:38 PDT
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.
Attachments
Radar WebKit Bug Importer
Comment 1 2021-06-30 14:42:16 PDT
Note You need to log in before you can comment on or make changes to this bug.