[AST] Remove the static_assert check in ObjCMethodDecl::ObjCMethodDecl

Summary:
This check was introduced by r338641
but this broke some builds. For now remove it.

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D50163

llvm-svn: 338648
This commit is contained in:
Vlad Tsyrklevich 2018-08-01 22:41:03 +00:00
parent 5530f234f5
commit 54d251b901
1 changed files with 0 additions and 7 deletions

View File

@ -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<unsigned>(ObjCMethodDeclBits.ObjCMethodFamilyBitWidth) ==
static_cast<unsigned>(ObjCMethodFamilyBitWidth),
"ObjCMethodDeclBitfields::ObjCMethodFamilyBitWidth and "
"ObjCMethodFamilyBitWidth do not match!");
// Initialized the bits stored in DeclContext.
ObjCMethodDeclBits.Family =