[all-commits] [llvm/llvm-project] b1d946: [clang] Add an extract-api driver option

Zixu Wang via All-commits all-commits at lists.llvm.org
Wed Jan 26 11:31:47 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1d946cbf780f1769b3a3a39ce68e462a181869e
      https://github.com/llvm/llvm-project/commit/b1d946cbf780f1769b3a3a39ce68e462a181869e
  Author: Zixu Wang <zixu_wang at apple.com>
  Date:   2022-01-26 (Wed, 26 Jan 2022)

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

  Log Message:
  -----------
  [clang] Add an extract-api driver option

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.

Differential Revision: https://reviews.llvm.org/D117809




More information about the All-commits mailing list