[all-commits] [llvm/llvm-project] 85d506: docs: add documentation describing API Notes

Saleem Abdulrasool via All-commits all-commits at lists.llvm.org
Mon Oct 5 11:30:16 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 85d506400081e121ef876a4c66fb337b050dcae6
      https://github.com/llvm/llvm-project/commit/85d506400081e121ef876a4c66fb337b050dcae6
  Author: Saleem Abdulrasool <compnerd at compnerd.org>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    A clang/docs/APINotes.rst
    A clang/test/APINotes/Inputs/Frameworks/SomeKit.framework/Headers/SomeKit.apinotes
    A clang/test/APINotes/Inputs/Frameworks/SomeKit.framework/Headers/SomeKit.h
    A clang/test/APINotes/Inputs/Frameworks/SomeKit.framework/Headers/SomeKitExplicitNullability.h
    A clang/test/APINotes/Inputs/Frameworks/SomeKit.framework/Headers/SomeKit_private.apinotes

  Log Message:
  -----------
  docs: add documentation describing API Notes

API Notes are a feature which allows annotation of headers by an
auxiliary file that contains metadata for declarations pertaining to the
associated module.  This enables adding attributes to declarations
without requiring modification of the headers, enabling finer grained
control for library headers for consumers without having to modify
external headers.

Differential Revision: https://reviews.llvm.org/D88446
Reviewed By: Richard Smith, Marcel Hlopko




More information about the All-commits mailing list