[clang] [RFC] Initial implementation of P2719 (PR #113510)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 24 02:17:19 PDT 2025
================
@@ -7256,6 +7257,71 @@ void Sema::CheckCompletedCXXClass(Scope *S, CXXRecordDecl *Record) {
else if (Record->hasAttr<CUDADeviceBuiltinTextureTypeAttr>())
checkCUDADeviceBuiltinTextureClassTemplate(*this, Record);
}
+
+ if (getLangOpts().TypeAwareAllocators) {
+ llvm::SmallVector<const FunctionDecl *, 2> TypeAwareNewDecls;
+ llvm::SmallVector<const FunctionDecl *, 2> TypeAwareDeleteDecls;
+ llvm::SmallVector<const FunctionDecl *, 2> TypeAwareArrayNewDecls;
+ llvm::SmallVector<const FunctionDecl *, 2> TypeAwareArrayDeleteDecls;
----------------
cor3ntin wrote:
@ojhunt
https://github.com/llvm/llvm-project/pull/113510
More information about the cfe-commits
mailing list