WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
227320
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-06-30 14:42:16 PDT
<
rdar://problem/79986287
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug