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

Cyndy Ishida via All-commits all-commits at lists.llvm.org
Thu Mar 14 12:09:12 PDT 2024


  Branch: refs/heads/users/cyndyishida/installapiopts
  Home:   https://github.com/llvm/llvm-project
  Commit: 1281dfa43781cd544b80575d6b8e76a89204e7ff
      https://github.com/llvm/llvm-project/commit/1281dfa43781cd544b80575d6b8e76a89204e7ff
  Author: Cyndy Ishida <cyndy_ishida at apple.com>
  Date:   2024-03-14 (Thu, 14 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