Bug 103607
| Summary: | check-webkit-style false positives for single line templates with statement | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Kiran Muppala <cmuppala> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | cmuppala |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Kiran Muppala
check-webkit-style is reporting style error for single line templates of the form below because of the presence of two semicolons.
template<> struct Foo { statement1; };
I think this should be accepted style since WTF uses it extensively for defining templates such as IsInteger.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Kiran Muppala
My patch for https://bugs.webkit.org/show_bug.cgi?id=101536 ran into this issue .