[clang][ExtractAPI] Add multiple file support to --extract-api-ignores
authorAnkur <arsenic.secondary@gmail.com>
Mon, 13 Mar 2023 12:28:39 +0000 (17:58 +0530)
committerAnkur <arsenic.secondary@gmail.com>
Mon, 13 Mar 2023 12:35:16 +0000 (18:05 +0530)
commit58825d2cf947d0b4fb6590c17212c388cd3ff5cf
treeb272ac6ed973de1f74c067da09942b68fa47ee2a
parent5a0ad86cf345bdac53f4b18ebbba582aebe9e2b3
[clang][ExtractAPI] Add multiple file support to --extract-api-ignores

- Modify -extract-api-ignores command line option to accept multiple
  arguments
- Update APIIgnoresList to operate on a file list instead of a single file
- Add new test verifying the functionality
- fix #61242 on GitHub issue tracker

Reviewed By: dang

Differential Revision: https://reviews.llvm.org/D145869
clang/include/clang/Driver/Options.td
clang/include/clang/ExtractAPI/APIIgnoresList.h
clang/include/clang/Frontend/FrontendOptions.h
clang/lib/ExtractAPI/APIIgnoresList.cpp
clang/lib/ExtractAPI/ExtractAPIConsumer.cpp
clang/test/ExtractAPI/ignored-symbols-multifile.c [new file with mode: 0644]