[clang] WIP: [clang] MicrosoftCXXABI: Serialize the exception copy constructor table in the AST (PR #114075)

Andrey Glebov via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 30 11:33:29 PST 2025


================
@@ -1082,6 +1082,10 @@ bool Sema::CheckCXXThrowOperand(SourceLocation ThrowLoc,
       // friendship or any other means).
       Context.addCopyConstructorForExceptionObject(Subobject, CD);
 
+      // Store the bit in CXXRecordDecl so that ASTReader can restore this
+      // mapping later.
+      Subobject->setHasCopyConstructorForExceptionObject();
----------------
glebov-andrey wrote:

The implementation has changed, and this code has been removed

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


More information about the cfe-commits mailing list