<?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>96682</bug_id>
          
          <creation_ts>2012-09-13 12:26:30 -0700</creation_ts>
          <short_desc>Add a style guide rule for signed and unsigned int</short_desc>
          <delta_ts>2012-09-13 13:56:26 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Ryosuke Niwa">rniwa</assigned_to>
          <cc>dbates</cc>
    
    <cc>kenneth</cc>
    
    <cc>mitz</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>719790</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-09-13 12:26:30 -0700</bug_when>
    <thetext>Add a style guide rule for signed and unsigned int</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>719792</commentid>
    <comment_count>1</comment_count>
      <attachid>163935</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-09-13 12:27:32 -0700</bug_when>
    <thetext>Created attachment 163935
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>719813</commentid>
    <comment_count>2</comment_count>
      <attachid>163935</attachid>
    <who name="Geoffrey Garen">ggaren</who>
    <bug_when>2012-09-13 12:49:43 -0700</bug_when>
    <thetext>Comment on attachment 163935
Patch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>719848</commentid>
    <comment_count>3</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-09-13 13:17:09 -0700</bug_when>
    <thetext>Committed r128499: &lt;http://trac.webkit.org/changeset/128499&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>719869</commentid>
    <comment_count>4</comment_count>
      <attachid>163935</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2012-09-13 13:31:32 -0700</bug_when>
    <thetext>Comment on attachment 163935
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=163935&amp;action=review

&gt; Websites/webkit.org/coding/coding-style.html:1065
&gt; +signed b; // Uses &quot;singed&quot; instead of &quot;int&quot;.

Typo: singed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>719880</commentid>
    <comment_count>5</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-09-13 13:49:29 -0700</bug_when>
    <thetext>Fixed the typo in r128503.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>719886</commentid>
    <comment_count>6</comment_count>
      <attachid>163935</attachid>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2012-09-13 13:55:33 -0700</bug_when>
    <thetext>Comment on attachment 163935
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=163935&amp;action=review

&gt; Websites/webkit.org/coding/coding-style.html:1055
&gt; +Omit &quot;int&quot; when using &quot;unsigned&quot; modifier. Do not use &quot;signed&quot; modifier. Use &quot;int&quot; by itself instead.

We should be explicit about not using the &quot;signed&quot; modifier for integer types. This part of the rule shouldn&apos;t be applied to objects of type char used in a bit-fields by bug 54807 comment 9 (*).

(*) For completeness, Final Committee Draft of &quot;ISO/IEC IS 14882 – Programming Languages – C++&quot; (28 February 2011) is at &lt;http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3242.pdf&gt;. Bug 54807 comment 9 references an incorrect URL that was corrected in bug 54807 comment 10).
For completeness, a newer</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>163935</attachid>
            <date>2012-09-13 12:27:32 -0700</date>
            <delta_ts>2012-09-13 13:55:33 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-96682-20120913122704.patch</filename>
            <type>text/plain</type>
            <size>1459</size>
            <attacher name="Ryosuke Niwa">rniwa</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYnNpdGVzL3dlYmtpdC5vcmcvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYnNp
dGVzL3dlYmtpdC5vcmcvQ2hhbmdlTG9nCShyZXZpc2lvbiAxMjg0OTIpCisrKyBXZWJzaXRlcy93
ZWJraXQub3JnL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE0IEBACisyMDEy
LTA5LTEzICBSeW9zdWtlIE5pd2EgIDxybml3YUB3ZWJraXQub3JnPgorCisgICAgICAgIEFkZCBh
IHN0eWxlIGd1aWRlIHJ1bGUgZm9yIHNpZ25lZCBhbmQgdW5zaWduZWQgaW50CisgICAgICAgIGh0
dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD05NjY4MgorCisgICAgICAgIFJl
dmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIEFkZCBhIHJ1bGUgcGVyIGh0dHA6
Ly9saXN0cy53ZWJraXQub3JnL3BpcGVybWFpbC93ZWJraXQtZGV2LzIwMTItU2VwdGVtYmVyLzAy
MjE5OS5odG1sLgorCisgICAgICAgICogY29kaW5nL2NvZGluZy1zdHlsZS5odG1sOgorCiAyMDEy
LTA4LTM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25lZCIuCis8L3ByZT4KKzwvbGk+Cis8L29sPgorCiA8aDMg
aWQ9ImNsYXNzZXMiPkNsYXNzZXM8L2gzPgogCiA8b2w+Cg==
</data>
<flag name="review"
          id="175562"
          type_id="1"
          status="+"
          setter="ggaren"
    />
          </attachment>
      

    </bug>

</bugzilla>