- Add StructFieldRecord and StructRecord to store API information for structs
- Implement VisitRecordDecl in ExtractAPIVisitor
- Implement Symbol Graph serialization for struct records.
- Add test case for struct records.
Depends on D121873
Paths
| Differential D122202
[clang][extract-api] Add struct support ClosedPublic Authored by zixuw on Mar 21 2022, 7:13 PM.
Details Summary
Depends on D121873
Diff Detail
Event Timelinezixuw added reviewers: ributzka, QuietMisdreavus, supergrecko, phosek, haowei, tstellar, MaskRay.Mar 21 2022, 7:28 PM This revision is now accepted and ready to land.Mar 22 2022, 11:09 AM This revision now requires changes to proceed.Mar 22 2022, 11:09 AM zixuw marked 3 inline comments as done. Comment ActionsAddress review issues: fix Symbol Graph struct kind identifiers and display names This revision is now accepted and ready to land.Mar 23 2022, 9:43 AM Closed by commit rG5bb5704c1b35: [clang][extract-api] Add struct support (authored by zixuw). · Explain WhyMar 23 2022, 9:45 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 417668 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/struct.c
|
"property" instead of "struct.field"