<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/67991>67991</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-format] Option to ignore macro definitions
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-format
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
tomekpaszek
</td>
</tr>
</table>
<pre>
Currently, there is no way to tell clang-format to ignore macro definitions. Sometimes macros are special cases that shouldn't be touched. To avoid adding controlling comments, having a blanket option to ignore any macro definitions would be great.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxkkcGO2zAMRL9GvhAxZMVO4oMP7S5y7aH9AVpibDWyGIh0FunXF84W6LariwQKw3mYQZE4ZaLBdF9N91rhqjOXQXmh6w3lF12rkcNjeFlLoazpYdwL6EyFIApkhjd8gDIopQQ-YZ52Fy4L6jaMU-ZCsKAvDIEuMUeNnKWG77yQxoXk_VMAC4HcyEdM4FFIQGdUkJnXFLJxR4WRQHn1M4UafjDgnWMADCHmCTxnLZzS-3tZKKtspDPetxHCmDBfSYFvG8EHOMyPz4DwttlujlMh1BqgCsM-9PseKxqaQ39w3fF0aqt5wFPX2JGwHeniGh_IduGAvT3g6UJHZ6s4OOv2jbWuabdT06nFY2ut9b4ZLV5Ma2nBmOqU7kvNZaqiyErD4dj3TZVwpCTPepz7GLBxbiusDJtsN66TmNamKCp_F2nU9Kz2H2H3Ct_-j-FTBNVa0jCr3sTsvxh3Nu48RZ3Xsfa8GHfePP5cu1vhn-TVuPOTXIw7P-F_BwAA__9l5s6e">