summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/include/clang/AST/DeclBase.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/clang/include/clang/AST/DeclBase.h b/clang/include/clang/AST/DeclBase.h
index 0d521200170..c174242a906 100644
--- a/clang/include/clang/AST/DeclBase.h
+++ b/clang/include/clang/AST/DeclBase.h
@@ -16,6 +16,7 @@
#include "clang/AST/AttrIterator.h"
#include "clang/AST/DeclarationName.h"
+#include "clang/Basic/IdentifierTable.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/Specifiers.h"
@@ -1558,13 +1559,6 @@ class DeclContext {
class ObjCMethodDeclBitfields {
friend class ObjCMethodDecl;
- /// This is needed for the bitwidth of Family below but
- /// is defined in Basic/IdentifierTable.h which we do not include.
- /// To avoid mismatches between the two definitions we have
- /// a static_assert in the ctor of ObjCMethodDecl which checks
- /// that these two ObjCMethodFamilyBitWidth are equal.
- enum { ObjCMethodFamilyBitWidth = 4 };
-
/// For the bits in DeclContextBitfields.
uint64_t : NumDeclContextBits;
OpenPOWER on IntegriCloud