summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/lib/AST/DeclObjC.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/lib/AST/DeclObjC.cpp b/clang/lib/AST/DeclObjC.cpp
index 86ec9727d19..b26295013ab 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<unsigned>(ObjCMethodDeclBits.ObjCMethodFamilyBitWidth) ==
- static_cast<unsigned>(ObjCMethodFamilyBitWidth),
- "ObjCMethodDeclBitfields::ObjCMethodFamilyBitWidth and "
- "ObjCMethodFamilyBitWidth do not match!");
// Initialized the bits stored in DeclContext.
ObjCMethodDeclBits.Family =
OpenPOWER on IntegriCloud