diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-12-09 00:31:40 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-12-09 00:31:40 +0000 |
commit | c6994005dc9f677c831b8e90bdab483cc2197c29 (patch) | |
tree | 3b1f2c7a03b51e8b7e36743f12411002cad60f2d /tools/libclang/IndexingContext.cpp | |
parent | 4451746d8f658b51eaf15dd24664a488457063a9 (diff) |
Save category name loc in ObjCCategoryImplDecl, patch by Jason Haslam!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146213 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/libclang/IndexingContext.cpp')
-rw-r--r-- | tools/libclang/IndexingContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libclang/IndexingContext.cpp b/tools/libclang/IndexingContext.cpp index 0b18167e80..b95d22d010 100644 --- a/tools/libclang/IndexingContext.cpp +++ b/tools/libclang/IndexingContext.cpp @@ -393,7 +393,7 @@ bool IndexingContext::handleObjCCategoryImpl(const ObjCCategoryImplDecl *D) { StrAdapter SA(*this); const ObjCInterfaceDecl *IFaceD = CatD->getClassInterface(); SourceLocation ClassLoc = D->getLocation(); - SourceLocation CategoryLoc = ClassLoc; //FIXME: D->getCategoryNameLoc(); + SourceLocation CategoryLoc = D->getCategoryNameLoc(); getEntityInfo(IFaceD, ClassEntity, SA); CatDInfo.ObjCCatDeclInfo.containerInfo = &CatDInfo.ObjCContDeclInfo; |