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
Paths
| Differential D122175
[clang][extract-api] Enable processing of multiple headers ClosedPublic Authored by dang on Mar 21 2022, 1:29 PM.
Details Summary Before actually executing the ExtractAPIAction, clear the Depends on D122141
Diff Detail
Event TimelineComment Actions This is up as a "draft" right now. I am waiting on https://reviews.llvm.org/D122160 to land before doing a final rebase. This revision is now accepted and ready to land.Mar 22 2022, 4:54 PM
Closed by commit rGf833aab0d0bf: [clang][extract-api] Enable processing of multiple headers (authored by dang). · Explain WhyMar 23 2022, 12:05 PM This revision was automatically updated to reflect the committed changes. dang marked an inline comment as done.
Revision Contents
Diff 417704 clang/include/clang/ExtractAPI/FrontendActions.h
clang/lib/ExtractAPI/ExtractAPIConsumer.cpp
clang/test/ExtractAPI/global_record_multifile.c
|