<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/54180>54180</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-format does not recognize _Pragma in C11
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
laoshaw
</td>
</tr>
</table>
<pre>
the result with a default .clang-format leads to below, which shows clang-format does not recognize _Pramga at all.
```
#define X
_Pragma("X") _Pragma("Y") do {
printf("xyz\n")
}
while (0) _Pragma("Z")
#endif
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyNUU2PmzAQ_TXmMlpkbJyEA4fdRD3vcdtLNcAArowdYbN099d3AqmqtJdaY3u-3xu7Cd1HnUaCmeLiEqw2jYDQUY83M28d-uGpD_OECRxhFyEFaMiFVagzrKNtR4hjWCM8pHaBIviQuG8bBm8_Cb6_zjgNCBxF53IhL0I-38-DvMtuKs0ErCd42x230mFCoU5CqTfeQlXw4Px6d3YBxPFlrwJe19n61O85Pz8-hTn7PfOOdLzsCg_iCDhP_tP620OB0uQ72__FO-tq3VW6wizZ5Kj-n7dgALAezkWRLbOrx5SuUWhG-MIy8D8sTd6GiQ3n3n9fT9c5_KA2sWljXCiyYsriJLOxVubUkFENmhZRFVjJQpVVIbGUpW6Oh8whf1yshXnhkTytsLW4jWcuma2VVEpqqZU02qj8IM2pb3WhiQrZd6UoJU1oXX7jkYd5yOZ6o9QsQ-SgszHFP0GM0Q6eaIPj_rikMXAFhjjimm3Q9Ub9F3Eyw3o">