@@ -1829,10 +1829,18 @@ class DeclContext {
18291829 // refers to an enclosing template for hte purposes of [temp.friend]p9.
18301830 LLVM_PREFERRED_TYPE (bool )
18311831 uint64_t FriendConstraintRefersToEnclosingTemplate : 1 ;
1832+
1833+ // Indicates this function is type aware operator new or delete
1834+ LLVM_PREFERRED_TYPE (bool )
1835+ uint64_t IsDestroyingOperatorDelete : 1 ;
1836+
1837+ // Indicates this function is type aware operator new or delete
1838+ LLVM_PREFERRED_TYPE (bool )
1839+ uint64_t IsTypeAwareOperatorNewOrDelete : 1 ;
18321840 };
18331841
18341842 // / Number of inherited and non-inherited bits in FunctionDeclBitfields.
1835- enum { NumFunctionDeclBits = NumDeclContextBits + 32 };
1843+ enum { NumFunctionDeclBits = NumDeclContextBits + 34 };
18361844
18371845 // / Stores the bits used by CXXConstructorDecl. If modified
18381846 // / NumCXXConstructorDeclBits and the accessor
@@ -1843,12 +1851,12 @@ class DeclContext {
18431851 LLVM_PREFERRED_TYPE (FunctionDeclBitfields)
18441852 uint64_t : NumFunctionDeclBits;
18451853
1846- // / 19 bits to fit in the remaining available space.
1854+ // / 17 bits to fit in the remaining available space.
18471855 // / Note that this makes CXXConstructorDeclBitfields take
18481856 // / exactly 64 bits and thus the width of NumCtorInitializers
18491857 // / will need to be shrunk if some bit is added to NumDeclContextBitfields,
18501858 // / NumFunctionDeclBitfields or CXXConstructorDeclBitfields.
1851- uint64_t NumCtorInitializers : 16 ;
1859+ uint64_t NumCtorInitializers : 14 ;
18521860 LLVM_PREFERRED_TYPE (bool )
18531861 uint64_t IsInheritingConstructor : 1 ;
18541862
@@ -1862,7 +1870,9 @@ class DeclContext {
18621870 };
18631871
18641872 // / Number of inherited and non-inherited bits in CXXConstructorDeclBitfields.
1865- enum { NumCXXConstructorDeclBits = NumFunctionDeclBits + 19 };
1873+ enum { NumCXXConstructorDeclBits = NumFunctionDeclBits + 17 };
1874+ static_assert (NumCXXConstructorDeclBits == 64 );
1875+ static_assert (sizeof (CXXConstructorDeclBitfields) == 8 );
18661876
18671877 // / Stores the bits used by ObjCMethodDecl.
18681878 // / If modified NumObjCMethodDeclBits and the accessor
0 commit comments