<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/154571>154571</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Compile warning with msvc 2022 Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35214 for x64
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
lygstate
</td>
</tr>
</table>
<pre>
C:/mesa-deps/include\clang/AST/DeclCXX.h(120): warning C4291: 'void *clang::Decl::operator new(size_t,const clang::ASTContext &,clang::DeclContext *,size_t)': no matching operator delete found; memory will not be freed if initialization throws an exception
C:/mesa-deps/include\clang/AST/DeclBase.h(366): note: see declaration of 'clang::Decl::operator new'
C:/mesa-deps/include\clang/AST/DeclCXX.h(3264): warning C4291: 'void *clang::Decl::operator new(size_t,const clang::ASTContext &,clang::DeclContext *,size_t)': no matching operator delete found; memory will not be freed if initialization throws an exception
C:/mesa-deps/include\clang/AST/DeclBase.h(366): note: see declaration of 'clang::Decl::operator new'
C:/mesa-deps/include\clang/AST/DeclCXX.h(3268): warning C4291: 'void *clang::Decl::operator new(size_t,const clang::ASTContext &,clang::GlobalDeclID,size_t)': no matching operator delete found; memory will not be freed if initialization throws an exception
C:/mesa-deps/include\clang/AST/DeclBase.h(362): note: see declaration of 'clang::Decl::operator new'
C:/mesa-deps/include\clang/AST/DeclCXX.h(3367): warning C4291: 'void *clang::Decl::operator new(size_t,const clang::ASTContext &,clang::DeclContext *,size_t)': no matching operator delete found; memory will not be freed if initialization throws an exception
C:/mesa-deps/include\clang/AST/DeclBase.h(366): note: see declaration of 'clang::Decl::operator new'
The file https://github.com/llvm/llvm-project/commits/release/19.x/clang/include/clang/AST/DeclBase.h
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJzsVktr5DgQ_jXli4iRS360Dz64HbzsYVnYhCW3RbbLbS2y1EjqR_LrF3WnNzPMZXKazJCTjMr16XuoQNJ7tTNEDRRbKO4TeQiLdY1-3vkgAyWDnZ6bDkQL2K_k5d1Eew_YKzPqw0RQdKOWZgfYtw-PgP09jbp7ekoXwE2GHLAG0bKTdEaZHetyrLO4AVgdrZoYYHvtFy2INjZfv-yenAzWMUMnwI1XL_RPAOxGa3xgX7S0D4-dNYHOgQGW8Y-v4d6KLWB3w6kBq0jDWLbKMC6R2_9HTqQpEJvtwUwgtmyl1bpndlJaM2MDG4jNjmhiambKqKCkVi8yKGtYWJw9eSYNo_NI-7gHvH2nfVvp6eKfKMtX_4wNFFdPxCYatXTX8-wcnfwOB6v307ilKLDMP2P8FWLc_NAYf9N2kDqC_n7_E2aIHyFDUVafo_hxRhF4-7gQm5UmtoSw91dagP1OheUwpKNdAXutj7flbu_svzQGwH6066pCpO5Ik_QE2Gd1eo6lVwU3TW8732jibTI1YqpFLRNqsqooKl6VvEyWZq7GPKvnYcznohxmXnJByDf5UA15KSQmqkGOBd8gz0ohsEzzYiaJc4YkZE0Vh5zTKpVOI_XUul2ivD9QkxV5UWWJlgNpf3k5IBo6sUsVEONDwjUXvcNh5yHnWvng32CCCpqazq77aN3tLp9UWNjqjyNDjsj-UKOz3s7xqm3-AqxZB9h3gFvALftzH9SqXi4zcMVx7G9yPoaY1Wmep6LALGezdexc5snB6ebdGV0ExYheFR8b_C8AAP__x_TrUw">