Bug 227320
| Summary: | Style incorrectly reports error Code inside a namespace should not be indented | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Jean-Yves Avenard [:jya]
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
<rdar://problem/79986287>