diff options
Diffstat (limited to 'lib/AST/DeclBase.cpp')
-rw-r--r-- | lib/AST/DeclBase.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/AST/DeclBase.cpp b/lib/AST/DeclBase.cpp index 62783b140f..010dc677af 100644 --- a/lib/AST/DeclBase.cpp +++ b/lib/AST/DeclBase.cpp @@ -165,14 +165,19 @@ unsigned Decl::getIdentifierNamespaceForKind(Kind DeclKind) { case ObjCContainer: case ObjCCategory: case ObjCInterface: - case ObjCCategoryImpl: case ObjCProperty: case ObjCCompatibleAlias: return IDNS_Ordinary; case ObjCProtocol: - return IDNS_Protocol; + return IDNS_ObjCProtocol; + case ObjCImplementation: + return IDNS_ObjCImplementation; + + case ObjCCategoryImpl: + return IDNS_ObjCCategoryImpl; + case Field: case ObjCAtDefsField: case ObjCIvar: @@ -197,7 +202,6 @@ unsigned Decl::getIdentifierNamespaceForKind(Kind DeclKind) { case FileScopeAsm: case StaticAssert: case ObjCClass: - case ObjCImplementation: case ObjCPropertyImpl: case ObjCForwardProtocol: case Block: |