[PATCH] D122175: [clang][extract-api] Enable processing of multiple headers

Daniel Grumberg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 21 13:29:47 PDT 2022


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

Before actually executing the ExtractAPIAction, clear the
CompilationInstance's input list and replace it with a single
synthesized file that just includes (or imports in ObjC) all the inputs.

Depends on D122141 <https://reviews.llvm.org/D122141>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122175

Files:
  clang/include/clang/SymbolGraph/FrontendActions.h
  clang/lib/SymbolGraph/ExtractAPIConsumer.cpp
  clang/test/SymbolGraph/global_record_multifile.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122175.417073.patch
Type: text/x-patch
Size: 11923 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220321/4b36b48e/attachment-0001.bin>


More information about the cfe-commits mailing list