[PATCH] D122202: [clang][extract-api] Add struct support
Daniel Grumberg via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 22 09:58:07 PDT 2022
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 "struct.field"
================
Comment at: clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp:376
+ Kind["identifier"] = AddLangPrefix("struct.field");
+ Kind["displayName"] = "Struct Field";
+ break;
----------------
"Instance Property"
================
Comment at: clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp:380
+ Kind["identifier"] = AddLangPrefix("struct");
+ Kind["displayName"] = "Struct";
+ break;
----------------
"Structure"
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122202/new/
https://reviews.llvm.org/D122202
More information about the cfe-commits
mailing list