[PATCH] D122202: [clang][extract-api] Add struct support

2022-03-23 Thread Zixu Wang via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG5bb5704c1b35: [clang][extract-api] Add struct support (authored by zixuw). Changed prior to commit: https://reviews.llvm.org/D122202?vs=417438=417668#toc Repository: rG LLVM Github Monorepo CHANGES

[PATCH] D122202: [clang][extract-api] Add struct support

2022-03-23 Thread Daniel Grumberg via Phabricator via cfe-commits
dang accepted this revision. dang added a comment. This revision is now accepted and ready to land. LGTM! Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D122202/new/ https://reviews.llvm.org/D122202 ___

[PATCH] D122202: [clang][extract-api] Add struct support

2022-03-22 Thread Zixu Wang via Phabricator via cfe-commits
zixuw updated this revision to Diff 417438. zixuw marked 3 inline comments as done. zixuw added a comment. Address review issues: fix Symbol Graph struct kind identifiers and display names Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D122202/new/

[PATCH] D122202: [clang][extract-api] Add struct support

2022-03-22 Thread Zixu Wang via Phabricator via cfe-commits
zixuw updated this revision to Diff 417430. zixuw added a comment. Rebase Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D122202/new/ https://reviews.llvm.org/D122202 Files: clang/include/clang/ExtractAPI/API.h

[PATCH] D122202: [clang][extract-api] Add struct support

2022-03-22 Thread Daniel Grumberg via Phabricator via cfe-commits
dang added inline comments. Comment at: clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp:375 + case APIRecord::RK_StructField: +Kind["identifier"] = AddLangPrefix("struct.field"); +Kind["displayName"] = "Struct Field"; "property" instead of

[PATCH] D122202: [clang][extract-api] Add struct support

2022-03-21 Thread Zixu Wang via Phabricator via cfe-commits
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 `StructFieldRecord` and `StructRecord` to store API information for structs - Implement