When performing code completion after at @interface, allow both
already-defined and forward-declared results. Already-defined results are fine because they could be the start of a category. Fixes <rdar://problem/9811691>. llvm-svn: 136559
This commit is contained in:
@@ -438,7 +438,7 @@ static unsigned long long getContextsForContextKind(
|
||||
contexts = CXCompletionContext_ObjCClassMessage;
|
||||
break;
|
||||
}
|
||||
case CodeCompletionContext::CCC_ObjCSuperclass: {
|
||||
case CodeCompletionContext::CCC_ObjCInterfaceName: {
|
||||
contexts = CXCompletionContext_ObjCInterface;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user