[clang] [MS][clang] Add support for vector deleting destructors (PR #126240)

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 26 15:14:12 PST 2025


================
@@ -575,6 +576,12 @@ class CGCXXABI {
                                QualType ElementType, llvm::Value *&NumElements,
                                llvm::Value *&AllocPtr, CharUnits &CookieSize);
 
+  /// Reads the array cookie associated with the given pointer,
+  /// that should have one.
+  virtual void ReadArrayCookie(CodeGenFunction &CGF, Address Ptr,
----------------
rnk wrote:

If there are no overrides, this doesn't need to be virtual.

https://github.com/llvm/llvm-project/pull/126240


More information about the cfe-commits mailing list