[PATCH] D136455: [clang][ExtractAPI] Add targetFallback to relationships in symbol graph

Daniel Grumberg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 21 07:38:17 PDT 2022


dang created this revision.
dang added reviewers: zixuw, QuietMisdreavus, ributzka.
Herald added a subscriber: yaxunl.
Herald added a project: All.
dang requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Adds a 'targetFallback' field to relationships in symbol graph that
contains the plain name of the relationship target. This is useful for
clients when the relationship target symbol is not available.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136455

Files:
  clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
  clang/test/ExtractAPI/anonymous_record_no_typedef.c
  clang/test/ExtractAPI/enum.c
  clang/test/ExtractAPI/objc_category.m
  clang/test/ExtractAPI/objc_interface.m
  clang/test/ExtractAPI/objc_property.m
  clang/test/ExtractAPI/objc_protocol.m
  clang/test/ExtractAPI/struct.c
  clang/test/ExtractAPI/underscored.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136455.469609.patch
Type: text/x-patch
Size: 10218 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221021/c3224c5f/attachment-0001.bin>


More information about the cfe-commits mailing list