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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | ||
---|---|---|
404 | Since we currently never actually emit a standalone category symbol object, should we not just label this as llvm_unreachable with a comment explaining why that is? |
clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | ||
---|---|---|
404 | Yep, makes sense. |
Comment Actions
Address review comment:
- Use llvm_unreachable for the Objective-C category case in serializeSymbolKind
Since we currently never actually emit a standalone category symbol object, should we not just label this as llvm_unreachable with a comment explaining why that is?