<?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>223616</bug_id>
          
          <creation_ts>2021-03-22 18:02:53 -0700</creation_ts>
          <short_desc>clang-format removes space between empty braced initializers</short_desc>
          <delta_ts>2025-01-21 13:02:51 -0800</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>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=286304</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cameron McCormack (:heycam)">heycam</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>fujii</cc>
    
    <cc>jean-yves.avenard</cc>
    
    <cc>kohei.asano</cc>
    
    <cc>philn</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1742620</commentid>
    <comment_count>0</comment_count>
    <who name="Cameron McCormack (:heycam)">heycam</who>
    <bug_when>2021-03-22 18:02:53 -0700</bug_when>
    <thetext>Following up from https://bugs.webkit.org/show_bug.cgi?id=223229.  In that bug, two of three issues identified were fixed with .clang-format updates.  But formatting empty braced initializers as `{ }` rather than `{}` was not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1745002</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-03-29 18:03:12 -0700</bug_when>
    <thetext>&lt;rdar://problem/75982853&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2038355</commentid>
    <comment_count>2</comment_count>
    <who name="Kohei Asano">kohei.asano</who>
    <bug_when>2024-05-28 20:18:53 -0700</bug_when>
    <thetext>I guess this problem still exists for current trunk clang-format. https://github.com/llvm/llvm-project/issues/93635 But this problem could be solved like https://github.com/llvm/llvm-project/commit/f9022ddba4dd26dea5d04dbcd3c256d2d42b3bad technically, currently in consulting.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>