[all-commits] [llvm/llvm-project] aebe5f: [clang][extract-api] Process only APIs declared in...
Daniel Grumberg via All-commits
all-commits at lists.llvm.org
Thu Apr 7 09:56:22 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: aebe5fc6e7d8ab99f3796067d430752552932d28
https://github.com/llvm/llvm-project/commit/aebe5fc6e7d8ab99f3796067d430752552932d28
Author: Daniel Grumberg <dgrumberg at apple.com>
Date: 2022-04-07 (Thu, 07 Apr 2022)
Changed paths:
M clang/include/clang/ExtractAPI/FrontendActions.h
M clang/lib/ExtractAPI/ExtractAPIConsumer.cpp
A clang/test/ExtractAPI/known_files_only.c
A clang/test/ExtractAPI/known_files_only_hmap.c
Log Message:
-----------
[clang][extract-api] Process only APIs declared in inputs
We should only process APIs declared in the command line inputs to avoid
drowning the ExtractAPI output with symbols the user doesn't care about.
This is achieved by keeping track of the provided input files and
checking that the associated Decl or Macro is declared in one of those files.
Differential Revision: https://reviews.llvm.org/D123148
More information about the All-commits
mailing list