[PATCH] D122141: [clang][extract-api] Suppprt for the module name property in SymbolGraph
Daniel Grumberg via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 21 08:01:21 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.
Adds `--product-name=` flag to the clang driver. This gets forwarded to
cc1 only when we are performing a ExtractAPI Action. This is used to
populate the `name` field of the module object in the generated SymbolGraph.
Depends on D121936 <https://reviews.llvm.org/D121936>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D122141
Files:
clang/include/clang/Driver/Options.td
clang/include/clang/Frontend/FrontendOptions.h
clang/include/clang/SymbolGraph/Serialization.h
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/SymbolGraph/ExtractAPIConsumer.cpp
clang/lib/SymbolGraph/Serialization.cpp
clang/test/SymbolGraph/global_record.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122141.416946.patch
Type: text/x-patch
Size: 5589 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220321/bed2fc58/attachment.bin>
More information about the cfe-commits
mailing list