diff --git a/clang/lib/AST/DeclObjC.cpp b/clang/lib/AST/DeclObjC.cpp index 86ec9727d191..b26295013ab2 100644 --- a/clang/lib/AST/DeclObjC.cpp +++ b/clang/lib/AST/DeclObjC.cpp @@ -787,13 +787,6 @@ ObjCMethodDecl::ObjCMethodDecl(SourceLocation beginLoc, SourceLocation endLoc, : NamedDecl(ObjCMethod, contextDecl, beginLoc, SelInfo), DeclContext(ObjCMethod), MethodDeclType(T), ReturnTInfo(ReturnTInfo), DeclEndLoc(endLoc) { - // See the comment in ObjCMethodFamilyBitfields about - // ObjCMethodFamilyBitWidth for why we check this. - static_assert( - static_cast(ObjCMethodDeclBits.ObjCMethodFamilyBitWidth) == - static_cast(ObjCMethodFamilyBitWidth), - "ObjCMethodDeclBitfields::ObjCMethodFamilyBitWidth and " - "ObjCMethodFamilyBitWidth do not match!"); // Initialized the bits stored in DeclContext. ObjCMethodDeclBits.Family =