[PATCH] D117809: [clang] Add an extract-api driver option

Zixu Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 20 10:37:20 PST 2022


zixuw created this revision.
Herald added subscribers: dang, mgorny.
zixuw requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This is the initial commit for the clang-extract-api RFC
https://lists.llvm.org/pipermail/cfe-dev/2021-September/068768.html
Add a new driver option `-extract-api` and associate it with a dummy
(for now) frontend action to set up the initial structure for
incremental works.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117809

Files:
  clang/include/clang/Driver/Options.td
  clang/include/clang/Driver/Types.def
  clang/include/clang/Frontend/FrontendActions.h
  clang/include/clang/Frontend/FrontendOptions.h
  clang/lib/Driver/Driver.cpp
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Driver/Types.cpp
  clang/lib/Frontend/CMakeLists.txt
  clang/lib/Frontend/CompilerInvocation.cpp
  clang/lib/Frontend/ExtractAPIConsumer.cpp
  clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
  clang/test/Driver/extract-api.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117809.401691.patch
Type: text/x-patch
Size: 10718 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220120/4f355abb/attachment-0001.bin>


More information about the cfe-commits mailing list