[all-commits] [llvm/llvm-project] f833aa: [clang][extract-api] Enable processing of multiple...

Daniel Grumberg via All-commits all-commits at lists.llvm.org
Wed Mar 23 12:05:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f833aab0d0bf1bd9e9903a1398e429f431532f5f
      https://github.com/llvm/llvm-project/commit/f833aab0d0bf1bd9e9903a1398e429f431532f5f
  Author: Daniel Grumberg <dgrumberg at apple.com>
  Date:   2022-03-23 (Wed, 23 Mar 2022)

  Changed paths:
    M clang/include/clang/ExtractAPI/FrontendActions.h
    M clang/lib/ExtractAPI/ExtractAPIConsumer.cpp
    A clang/test/ExtractAPI/global_record_multifile.c

  Log Message:
  -----------
  [clang][extract-api] Enable processing of multiple headers

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

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




More information about the All-commits mailing list