NEW 36760
check-webkit-style shouldn't complain about namespace indents in forward declarations
https://bugs.webkit.org/show_bug.cgi?id=36760
Summary check-webkit-style shouldn't complain about namespace indents in forward decl...
Adam Barth
Reported 2010-03-29 09:16:26 PDT
--- Comment #70 from Darin Adler <darin@apple.com> 2010-03-29 09:07:38 PST --- (In reply to comment #69) > > > Done, but now style checking script barks at me. > > > > Bug in the script. > > Is it? > > +namespace JSC { > + > + class JSGlobalData; > + class MarkStack; > + > +} > > versus Rule #3 <http://webkit.org/coding/coding-style.html>? There's nothing specific in the coding style document to make it clear that indenting is desirable in forward declarations as opposed to the actual code defined in a header. But there should be.
Attachments
David Levin
Comment 1 2010-03-29 09:29:23 PDT
It sounds like the desired rule is that namespaces which only have fwd declarations (class/struct) should be indented. (Or is it all fwd declarations should be indented?) I'm pretty sure it is the former. Original bug with the comment: https://bugs.webkit.org/show_bug.cgi?id=33696
Tony Gentilcore
Comment 2 2011-03-14 14:10:42 PDT
*** Bug 47755 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.