[PATCH] D147138: [clang][ExtractAPI] Add queried symbol to parent contexts in libclang

Daniel Grumberg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 29 04:06:06 PDT 2023


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

Ensure that the current symbol is added to the parent contexts in the
output of libclang function for generating symbol graphs for single symbols.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D147138

Files:
  clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
  clang/test/Index/extract-api-cursor.m
  clang/test/Index/extract-api-usr.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147138.509293.patch
Type: text/x-patch
Size: 12103 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230329/8c549f6c/attachment-0001.bin>


More information about the cfe-commits mailing list