[all-commits] [llvm/llvm-project] 16a1d5: [clang] Do not diagnose unused deleted operator de...
Mariya Podchishchaeva via All-commits
all-commits at lists.llvm.org
Fri Apr 4 05:45:05 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 16a1d5d51f6bafa19afc140b033db2cfb090743a
https://github.com/llvm/llvm-project/commit/16a1d5d51f6bafa19afc140b033db2cfb090743a
Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
Date: 2025-04-04 (Fri, 04 Apr 2025)
Changed paths:
M clang/include/clang/AST/DeclCXX.h
M clang/include/clang/Sema/Sema.h
M clang/lib/AST/DeclCXX.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaExprCXX.cpp
A clang/test/SemaCXX/gh134265.cpp
Log Message:
-----------
[clang] Do not diagnose unused deleted operator delete[] (#134357)
For vector deleting dtors support we now also search and save operator
delete[]. Avoid diagnosing deleted operator delete[] when doing that
because vector deleting dtors are only called when delete[] is present
and whenever delete[] is present in the TU it will be diagnosed
correctly.
Fixes https://github.com/llvm/llvm-project/issues/134265
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list