[PATCH] D125678: [clang][extract-api] Don't emit symbols prefixed with an underscore

Daniel Grumberg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 16 03:51:47 PDT 2022


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

These symbols are understood to not be used for client API consumption
by convention so they should not appear in the generated symbol graph.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125678

Files:
  clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
  clang/test/ExtractAPI/underscored.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125678.429674.patch
Type: text/x-patch
Size: 9736 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220516/5c38f3df/attachment-0001.bin>


More information about the cfe-commits mailing list