Issue 154571
Summary Compile warning with msvc 2022 Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35214 for x64
Labels new issue
Assignees
Reporter lygstate
    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

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to