================ @@ -1981,21 +1981,35 @@ class FunctionDecl : public DeclaratorDecl, }; - /// Stashed information about a defaulted function definition whose body has - /// not yet been lazily generated. - class DefaultedFunctionInfo final - : llvm::TrailingObjects<DefaultedFunctionInfo, DeclAccessPair> { + /// Stashed information about a defaulted/deleted function body. + class DefaultedOrDeletedFunctionInfo final + : llvm::TrailingObjects<DefaultedOrDeletedFunctionInfo, DeclAccessPair, + StringLiteral *> { friend TrailingObjects; unsigned NumLookups; + bool HasDeletedMessage; ---------------- AaronBallman wrote:
I think it's fine to leave as-is for the moment; we may want to turn it into a bit-field if we add more members in the future though. https://github.com/llvm/llvm-project/pull/86526 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits