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

Cyndy Ishida via All-commits all-commits at lists.llvm.org
Sat Mar 16 09:08:39 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c51095f51b770f0663b65dd8a651601fca15701e
      https://github.com/llvm/llvm-project/commit/c51095f51b770f0663b65dd8a651601fca15701e
  Author: Cyndy Ishida <cyndy_ishida at apple.com>
  Date:   2024-03-16 (Sat, 16 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
    M llvm/lib/TextAPI/TextStub.cpp

  Log Message:
  -----------
  [InstallAPI] Add installapi specific options & diagnostics (#85100)

* 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 the 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 inconsistencies between an interface and its
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