<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>36760</bug_id>
          
          <creation_ts>2010-03-29 09:16:26 -0700</creation_ts>
          <short_desc>check-webkit-style shouldn&apos;t complain about namespace indents in forward declarations</short_desc>
          <delta_ts>2011-03-14 14:10:42 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Barth">abarth</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cjerdonek</cc>
    
    <cc>darin</cc>
    
    <cc>hamaji</cc>
    
    <cc>levin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>205475</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-03-29 09:16:26 -0700</bug_when>
    <thetext>--- Comment #70 from Darin Adler &lt;darin@apple.com&gt;  2010-03-29 09:07:38 PST ---
(In reply to comment #69)
&gt; &gt; &gt; Done, but now style checking script barks at me.
&gt; &gt;
&gt; &gt; Bug in the script.
&gt;
&gt; Is it?
&gt;
&gt; +namespace JSC {
&gt; +
&gt; +    class JSGlobalData;
&gt; +    class MarkStack;
&gt; +
&gt; +}
&gt;
&gt; versus Rule #3 &lt;http://webkit.org/coding/coding-style.html&gt;?

There&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>205487</commentid>
    <comment_count>1</comment_count>
    <who name="David Levin">levin</who>
    <bug_when>2010-03-29 09:29:23 -0700</bug_when>
    <thetext>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&apos;m pretty sure it is the former.


Original bug with the comment: https://bugs.webkit.org/show_bug.cgi?id=33696</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>367212</commentid>
    <comment_count>2</comment_count>
    <who name="Tony Gentilcore">tonyg</who>
    <bug_when>2011-03-14 14:10:42 -0700</bug_when>
    <thetext>*** Bug 47755 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>