<?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>125616</bug_id>
          
          <creation_ts>2013-12-11 22:14:06 -0800</creation_ts>
          <short_desc>check-webkit-style is wrong about style for C++11 lambdas</short_desc>
          <delta_ts>2016-08-26 09:13:03 -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>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>160910</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=160910</see_also>
          <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="Brady Eidson">beidson</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cgarcia</cc>
    
    <cc>darin</cc>
    
    <cc>jbedard</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>959054</commentid>
    <comment_count>0</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2013-12-11 22:14:06 -0800</bug_when>
    <thetext>check-webkit-style is wrong about style for c++11 lambdas

It complains: Place brace on its own line for function definitions.  [whitespace/braces] [4]

An example patch with the correct style is attached to bug https://bugs.webkit.org/show_bug.cgi?id=125258</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>960244</commentid>
    <comment_count>1</comment_count>
      <attachid>219357</attachid>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2013-12-16 14:52:01 -0800</bug_when>
    <thetext>Created attachment 219357
The fix, without a unit test or a patch to the website to add this exception to the coding style guidelines.

Don&apos;t have time to add the exception to the coding style guidelines or write a unit test for this, but this is the fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1160757</commentid>
    <comment_count>2</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2016-01-31 20:36:05 -0800</bug_when>
    <thetext>*** Bug 137309 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1160759</commentid>
    <comment_count>3</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2016-01-31 20:36:32 -0800</bug_when>
    <thetext>Bug 153732 shows one of the many, many cases where the style checker gives false positives about this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1223527</commentid>
    <comment_count>4</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2016-08-26 09:13:03 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 160910 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>219357</attachid>
            <date>2013-12-16 14:52:01 -0800</date>
            <delta_ts>2013-12-16 14:52:01 -0800</delta_ts>
            <desc>The fix, without a unit test or a patch to the website to add this exception to the coding style guidelines.</desc>
            <filename>pypatch</filename>
            <type>text/plain</type>
            <size>758</size>
            <attacher name="Brady Eidson">beidson</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1Rvb2xzL1NjcmlwdHMvd2Via2l0cHkvc3R5bGUvY2hlY2tlcnMvY3BwLnB5
IGIvVG9vbHMvU2NyaXB0cy93ZWJraXRweS9zdHlsZS9jaGVja2Vycy9jcHAucHkKaW5kZXggYjA5
ZGZhZi4uNGY1NmJjYiAxMDA2NDQKLS0tIGEvVG9vbHMvU2NyaXB0cy93ZWJraXRweS9zdHlsZS9j
aGVja2Vycy9jcHAucHkKKysrIGIvVG9vbHMvU2NyaXB0cy93ZWJraXRweS9zdHlsZS9jaGVja2Vy
cy9jcHAucHkKQEAgLTIzNzEsNiArMjM3MSw3IEBAIGRlZiBjaGVja19icmFjZXMoY2xlYW5fbGlu
ZXMsIGxpbmVfbnVtYmVyLCBlcnJvcik6CiAgICAgZWxpZiAoc2VhcmNoKHInXClccyooKChjb25z
dHxPVkVSUklERSlccyopKlxzKik/e1xzKiQnLCBsaW5lKQogICAgICAgICAgIGFuZCBsaW5lLmNv
dW50KCcoJykgPT0gbGluZS5jb3VudCgnKScpCiAgICAgICAgICAgYW5kIG5vdCBzZWFyY2gocidc
YihpZnxmb3J8Zm9yZWFjaHx3aGlsZXxzd2l0Y2h8TlNfRU5VTXxFTlVNX0NMQVNTKVxiJywgbGlu
ZSkKKyAgICAgICAgICBhbmQgbm90IHNlYXJjaChyJyhcW1teXF1dKlxdXChbXlwpXSpcKSknLCBs
aW5lKQogICAgICAgICAgIGFuZCBub3QgbWF0Y2gocidccytbQS1aX11bQS1aXzAtOV0rXGInLCBs
aW5lKSk6CiAgICAgICAgIGVycm9yKGxpbmVfbnVtYmVyLCAnd2hpdGVzcGFjZS9icmFjZXMnLCA0
LAogICAgICAgICAgICAgICAnUGxhY2UgYnJhY2Ugb24gaXRzIG93biBsaW5lIGZvciBmdW5jdGlv
biBkZWZpbml0aW9ucy4nKQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>