[all-commits] [llvm/llvm-project] a71d8d: [InstallAPI] Add installapi specific options & dia...

Cyndy Ishida via All-commits all-commits at lists.llvm.org
Wed Mar 13 08:51:20 PDT 2024


  Branch: refs/heads/users/cyndyishida/installapiopts
  Home:   https://github.com/llvm/llvm-project
  Commit: a71d8d338c9a5cc2f21957b7907f676f2f11d4d6
      https://github.com/llvm/llvm-project/commit/a71d8d338c9a5cc2f21957b7907f676f2f11d4d6
  Author: Cyndy Ishida <cyndy_ishida at apple.com>
  Date:   2024-03-13 (Wed, 13 Mar 2024)

  Changed paths:
    M clang/include/clang/Basic/AllDiagnostics.h
    M clang/include/clang/Basic/CMakeLists.txt
    M clang/include/clang/Basic/Diagnostic.td
    M clang/include/clang/Basic/DiagnosticIDs.h
    A clang/include/clang/Basic/DiagnosticInstallAPI.h
    A clang/include/clang/Basic/DiagnosticInstallAPIKinds.td
    A clang/include/clang/InstallAPI/DylibVerifier.h
    A clang/include/clang/InstallAPI/InstallAPIDiagnostic.h
    M clang/lib/Basic/DiagnosticIDs.cpp
    M clang/test/InstallAPI/driver-invalid-options.test
    M clang/test/InstallAPI/functions.test
    M clang/tools/clang-installapi/CMakeLists.txt
    M clang/tools/clang-installapi/ClangInstallAPI.cpp
    A clang/tools/clang-installapi/InstallAPIOpts.td
    M clang/tools/clang-installapi/Options.cpp
    M clang/tools/clang-installapi/Options.h

  Log Message:
  -----------
  [InstallAPI] Add installapi specific options & diagnostics

* A lot of `tapi installapi` options are already shared with clang, but not all.
  This patch handles installapi specific options by filtering for them in initial argv input, then passing the rest to the clang driver.
* Installapi not only generates a text file but also reports to library
  developers when there are inconsistences between an interface and it's
  implementation. To allow this, add support for reporting installapi
  diagnostics. This will be leveraged in the verifier service.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list