<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/147304>147304</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Support for /Zc:preprocessor in clang-cl
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
evg656e
</td>
</tr>
</table>
<pre>
There is a new option for MSVC that makes the preprocessor standard-compliant: [Microsoft Documentation](https://learn.microsoft.com/en-us/cpp/build/reference/zc-preprocessor?view=msvc-170). As of LLVM 20.1.6, clang-cl ignores this option, which allows the writing of ill-formed macros. It be nice to have this option working in clang-cl.
Other reports can be found here: [Stack Overflow](https://stackoverflow.com/questions/76850822/clang-cl-vs-new-msvc-preprocessor).
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxsksFunTwQhZ_GbEYgY1_gsmBxkyukX0qURX5l0Z0xA7gxNrUNqH36ypS2idSVF545c-abI7xXo0FsSPFAinsi1jBZ1-A2lkWJSWf7783_EzoE5UGAwR3sEpQ1MFgHz69vjxAmEWAW7-ghTAiLw8VZid5bBz4I0wvXp9LOi1bCBMJvQIqHZyWd9XYIcLdyndEEEVVJcSfsOoWweMJvhLWEtRqFM9n8uyGTdiasRZOunrBWLgthbbcq3RPWOhzQoZFIWPtDph-9EN5uCnfC77PfZJpXlLA6g5sHO8DT09szMJrlWUnYI0gtzJhKDWo01h2LKX8uHv_3SckJhNZ2_7X07lRQZoxSSut0sG7GHmYRPWfwX4AOwSiJECxMYsOPgrBb9x6blfkzOCP0RujtJUzowOFiXfAghYk6g11ND_EmJ8vXIOQ7vGzoBm33fyH0scKeBSfAbyv6OD5CrMprQa-MRZ6ng3TzqcE9PWB94sjqLOkb3te8Fgk2eVXk17osap5MTdnzbuhR8Dy_UonyOgyCdnlBc-R0qGWiGkZZQSta5bwoOc84RYo5r7HoK1kiJxeKs1A603qbM-vGRHm_YpNfKk4viRYdan-klbGYxuOXMBbD65rYlHbr6MmFauWD_ysTVNDYvK5LhHmkl7D2iyT89imxH46QrE43n0GOKkxrdxKM0ueTLs5-RRkIaw9DEerpeGvYzwAAAP__F70g9g">