[libclang] For:
@implementation I(cat) suppress subsequent references to 'I'. rdar://10568103 llvm-svn: 148730
This commit is contained in:
parent
586ade114b
commit
18dc04eba2
|
@ -465,6 +465,9 @@ bool IndexingContext::handleObjCCategoryImpl(const ObjCCategoryImplDecl *D) {
|
|||
SourceLocation CategoryLoc = D->getCategoryNameLoc();
|
||||
getEntityInfo(IFaceD, ClassEntity, SA);
|
||||
|
||||
if (suppressRefs())
|
||||
markEntityOccurrenceInFile(IFaceD, ClassLoc);
|
||||
|
||||
CatDInfo.ObjCCatDeclInfo.containerInfo = &CatDInfo.ObjCContDeclInfo;
|
||||
if (IFaceD) {
|
||||
CatDInfo.ObjCCatDeclInfo.objcClass = &ClassEntity;
|
||||
|
|
Loading…
Reference in New Issue