[PATCH] D122774: [clang][extract-api] Add Objective-C Category support
Zixu Wang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 30 17:25:06 PDT 2022
zixuw created this revision.
Herald added a reviewer: dang.
Herald added a project: All.
zixuw requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Add (partial) support for Objective-C category records in ExtractAPI.
The current ExtractAPI collects everything for an Objective-C category,
but not fully serialized in the SymbolGraphSerializer. Categories
extending external interfaces are disgarded during serialization, and
categories extending known interfaces are merged (all members surfaced)
into the interfaces.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D122774
Files:
clang/include/clang/ExtractAPI/API.h
clang/include/clang/ExtractAPI/DeclarationFragments.h
clang/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h
clang/lib/ExtractAPI/API.cpp
clang/lib/ExtractAPI/DeclarationFragments.cpp
clang/lib/ExtractAPI/ExtractAPIConsumer.cpp
clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
clang/test/ExtractAPI/objc_category.m
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122774.419297.patch
Type: text/x-patch
Size: 21372 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220331/06bb5af8/attachment-0001.bin>
More information about the cfe-commits
mailing list