forked from OSchip/llvm-project
[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:
parent
5530f234f5
commit
54d251b901
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue