@@ -2541,13 +2541,19 @@ class FunctionDecl : public DeclaratorDecl,
25412541 // / This adds support for potentially templated type aware global allocation
25422542 // / functions of the form:
25432543 // / void *operator new(type-identity, std::size_t, std::align_val_t)
2544- // / void *operator new(type-identity, std::size_t, std::align_val_t, const std::nothrow_t &) noexcept;
2544+ // / void *operator new(type-identity, std::size_t, std::align_val_t,
2545+ // / const std::nothrow_t &) noexcept;
25452546 // / void *operator new[](type-identity, std::size_t, std::align_val_t)
2546- // / void *operator new[](type-identity, std::size_t, std::align_val_t, const std::nothrow_t &) noexcept;
2547- // / void operator delete(type-identity, void*, std::size_t, std::align_val_t) noexcept;
2548- // / void operator delete(type-identity, void*, std::size_t, std::align_val_t, const std::nothrow_t &) noexcept;
2549- // / void operator delete[](type-identity, void*, std::size_t, std::align_val_t) noexcept;
2550- // / void operator delete[](type-identity, void*, std::size_t, std::align_val_t, const std::nothrow_t &) noexcept;
2547+ // / void *operator new[](type-identity, std::size_t, std::align_val_t,
2548+ // / const std::nothrow_t &) noexcept;
2549+ // / void operator delete(type-identity, void*, std::size_t,
2550+ // / std::align_val_t) noexcept;
2551+ // / void operator delete(type-identity, void*, std::size_t,
2552+ // / std::align_val_t, const std::nothrow_t&) noexcept;
2553+ // / void operator delete[](type-identity, void*, std::size_t,
2554+ // / std::align_val_t) noexcept;
2555+ // / void operator delete[](type-identity, void*, std::size_t,
2556+ // / std::align_val_t, const std::nothrow_t&) noexcept;
25512557 // / Where `type-identity` is a specialization of std::type_identity. If the
25522558 // / declaration is a templated function, it may not include a parameter pack
25532559 // / in the argument list, the type-identity parameter is required to be
@@ -2560,12 +2566,8 @@ class FunctionDecl : public DeclaratorDecl,
25602566 bool isInlineBuiltinDeclaration () const ;
25612567
25622568 // / Determine whether this is a destroying operator delete.
2563- bool isDestroyingOperatorDelete () const {
2564- return FunctionDeclBits.IsDestroyingOperatorDelete ;
2565- }
2566- void setIsDestroyingOperatorDelete (bool IsDestroyingDelete) {
2567- FunctionDeclBits.IsDestroyingOperatorDelete = IsDestroyingDelete;
2568- }
2569+ bool isDestroyingOperatorDelete () const ;
2570+ void setIsDestroyingOperatorDelete (bool IsDestroyingDelete);
25692571
25702572 // / Count of mandatory parameters for type aware operator new
25712573 static constexpr unsigned RequiredTypeAwareNewParameterCount =
@@ -2577,12 +2579,8 @@ class FunctionDecl : public DeclaratorDecl,
25772579 /* alignment */ 1 ;
25782580
25792581 // / Determine whether this is a type aware operator new or delete.
2580- bool isTypeAwareOperatorNewOrDelete () const {
2581- return FunctionDeclBits.IsTypeAwareOperatorNewOrDelete ;
2582- }
2583- void setIsTypeAwareOperatorNewOrDelete (bool IsTypeAwareOperator = true ) {
2584- FunctionDeclBits.IsTypeAwareOperatorNewOrDelete = IsTypeAwareOperator;
2585- }
2582+ bool isTypeAwareOperatorNewOrDelete () const ;
2583+ void setIsTypeAwareOperatorNewOrDelete (bool IsTypeAwareOperator = true );
25862584
25872585 // / Compute the language linkage.
25882586 LanguageLinkage getLanguageLinkage () const ;
0 commit comments