<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/96061>96061</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
#pragma clang diagnostic ignored "-Wdelayed-template-parsing-in-cxx20" does not stop emitting warning
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
torsten48
</td>
</tr>
</table>
<pre>
using clang-cl with `/Zc:twoPhase-`
and
`#pragma clang diagnostic ignored "-Wdelayed-template-parsing-in-cxx20"`
but
clang-cl still emits
`clang-cl: warning: -fdelayed-template-parsing is deprecated after C++20 [-Wdelayed-template-parsing-in-cxx20]`
C:\build\clang> clang-cl --version
clang version 18.1.6
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: c:\devtools\LLVM\bin
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyskk-L2zAQxT-NfBEKkvz_4EP-NFDYQg-lhV6KLM3aKrJkpHGS_fbFcdpdFgo99GJLmsfM7w1PpWQHD9CR8kDKU6YWHEPsMMSE4Ism64N56ZZk_UC1U35g2tGrxZGSihN5_q5Jvsdr-DyqBGx94yfC99tXefO4rtp8jmqY1NaGGqsGHxJaTe3gQwRDiZTsmwGnXsAwhGl2CoHNKq7TmfVM326SEynfjekX3A5_ABNa5yhMFtNbIan4bwnJ9_Sqord-WI_s-W9zqU3UwBxBKwRD1TNCpEciD0QeJKekPPwLc3l6x3wk-Z6Ux36xzpDyeMci-YfXHTN2gZhs8G-s0ccTFc1O7Kqt8kXFAXA1cWuqH1XBZs2u1ptwTWxKF_1QjRGUoVMwcPc-h2RvW-mjT6icA3OycS3pDc3ABUNwiZTHp6evn1ZY6zPT5abNW5VBJ2rR1G0tRJuNHe95XdS8FL3uq6KuGtXIvDHSFKJ5Vhoy20kuC16JVoi8yZtdblpZqaouSt5zURpScJiUdTvnLtMuxCGzKS3QtRWvROZUDy7dUyrlti0p18DGbtWzfhkSKbizCdNrB7TooPuf0aMmQKI-IE0Y5nvEcE3JI0vZEl03Is5pXaI8E3keLI5Lv9NhIvK8kj1-bI7hJ2gk8nw3mog8b14vnfwVAAD__5MNIys">