[all-commits] [llvm/llvm-project] 791fe2: [clang][ExtractAPI] Allow users to specify a list ...

Daniel Grumberg via All-commits all-commits at lists.llvm.org
Tue Oct 25 03:46:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 791fe26d758173e569d26d831b36ee8527e1a766
      https://github.com/llvm/llvm-project/commit/791fe26d758173e569d26d831b36ee8527e1a766
  Author: Daniel Grumberg <dgrumberg at apple.com>
  Date:   2022-10-25 (Tue, 25 Oct 2022)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticFrontendKinds.td
    M clang/include/clang/Driver/Options.td
    A clang/include/clang/ExtractAPI/APIIgnoresList.h
    M clang/include/clang/ExtractAPI/FrontendActions.h
    M clang/include/clang/ExtractAPI/Serialization/SerializerBase.h
    M clang/include/clang/ExtractAPI/Serialization/SymbolGraphSerializer.h
    M clang/include/clang/Frontend/FrontendOptions.h
    M clang/lib/Driver/ToolChains/Clang.cpp
    A clang/lib/ExtractAPI/APIIgnoresList.cpp
    M clang/lib/ExtractAPI/CMakeLists.txt
    M clang/lib/ExtractAPI/ExtractAPIConsumer.cpp
    M clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
    A clang/test/Driver/extract-api-unknown-ignore-diag.h
    A clang/test/ExtractAPI/ignored-symbols.c

  Log Message:
  -----------
  [clang][ExtractAPI] Allow users to specify a list of symbols to ignore

Adds a `--extract-api-ignores=` command line option that allows users to
provide a file containing a new line separated list of symbols to
unconditionally ignore when extracting API information.

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




More information about the All-commits mailing list