[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-bugs
Subject:    [llvm-bugs] [Bug 61048] Clang format: Dry-run fails without expected changes
From:       LLVM Bugs via llvm-bugs <llvm-bugs () lists ! llvm ! org>
Date:       2023-02-28 12:55:49
Message-ID: 20230228125549.948be2026e2e7d7b () email ! llvm ! org
[Download RAW message or body]

[Attachment #2 (text/html)]

<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/61048>61048</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Clang format: Dry-run fails without expected changes
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          JVApen
      </td>
    </tr>
</table>

<pre>
    The following code keeps giving failures, even after reformatting.
Found on 16-rc2, looks like a possible release blocker?
````
class C
{
   C(size_t nr = 1&apos;000) {}
};
````

Failure message:
````
test.cpp:3:18: warning: code should be clang-formatted [-Wclang-format-violations]
   C(size_t nr = 1&apos;000) {}
 ^
````

[reproduction.zip](https://github.com/llvm/llvm-project/files/10850414/reproduction.zip)


</pre>
<img width="1px" height="1px" alt="" \
src="http://email.email.llvm.org/o/eJyUU82OozgQfhpzKQWZMr8HDklYDnte7RxHBirgiWMj2yTT_fQ \
jk271SKMeqSUkrLL91fdTlt6r2RC1rDixokvkFhbr2n__P65kksFOL-1_C8HFam0fysww2ongSrR6mNU9Vi5S6 \
c2RZ3gGupMBeQnkwNHFupsMQZk5Zbxj_NjbzUxgDWTlwY0YL2hrrx60uhJIWK33atAEjjRJTzBoO17JMdE_AVj \
JP769MmrpPZzftqvTcwEAZ4a1V6_0PYBxwEQHGcOKc86wgXiw6t4vdUycPsN_I_6UCDfyXs7ExPGz84F8SMd1Z \
eIomDhmNRNHeEhnlJnjcrfPL3bTEwwEo5ZmPrwZRROw4nT49nvxcFdWy6Cs8azovq4OWPHP37Wx4uRodXbaxtg \
mfVVr7IT1EsLqo1TsGfazCss2pKO9Mey1vr__DquzP2gMDPuL0nEK-ozXBc-znGH_BzI2z67J1IqpEY1MqM3Kq \
irqusmbZGmF4OUkMRMSpch5M2RNyakSl5w3WGGdqBY5Co5YZ1gUeZM2eT0QciwJqZqqgeWcblLpNNJLrZsT5f1 \
GbZnxvE60HEj7fdwRDT1g32SIcfpdu0sattmznGvlg_9ACSpoas8xHHiGEwPt3MvBbWZ_BR4eKix2C0A_VxpjoOMizUw-2Zxuv2zoTi06ulP_FQAA__-eEhkR">



[Attachment #3 (text/plain)]

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic