-
- Downloads
[clang][extract-api] Add Objective-C Category support
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. Differential Revision: https://reviews.llvm.org/D122774
Showing
- clang/include/clang/ExtractAPI/API.h 41 additions, 0 deletionsclang/include/clang/ExtractAPI/API.h
- clang/include/clang/ExtractAPI/DeclarationFragments.h 5 additions, 0 deletionsclang/include/clang/ExtractAPI/DeclarationFragments.h
- clang/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h 6 additions, 0 deletions...de/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h
- clang/lib/ExtractAPI/API.cpp 19 additions, 0 deletionsclang/lib/ExtractAPI/API.cpp
- clang/lib/ExtractAPI/DeclarationFragments.cpp 19 additions, 0 deletionsclang/lib/ExtractAPI/DeclarationFragments.cpp
- clang/lib/ExtractAPI/ExtractAPIConsumer.cpp 33 additions, 0 deletionsclang/lib/ExtractAPI/ExtractAPIConsumer.cpp
- clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp 39 additions, 60 deletionsclang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
- clang/test/ExtractAPI/objc_category.m 311 additions, 0 deletionsclang/test/ExtractAPI/objc_category.m
Loading
Please register or sign in to comment