[all-commits] [llvm/llvm-project] c0a185: [APINotes] Upstream APINotesOptions

Egor Zhdan via All-commits all-commits at lists.llvm.org
Wed Nov 1 10:56:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0a1857928c557400af0ed53d198cc9f3f185f9a
      https://github.com/llvm/llvm-project/commit/c0a1857928c557400af0ed53d198cc9f3f185f9a
  Author: Egor Zhdan <e_zhdan at apple.com>
  Date:   2023-11-01 (Wed, 01 Nov 2023)

  Changed paths:
    A clang/include/clang/APINotes/APINotesOptions.h
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Frontend/CompilerInvocation.h
    M clang/lib/Frontend/CompilerInvocation.cpp

  Log Message:
  -----------
  [APINotes] Upstream APINotesOptions

This upstreams more of the Clang API Notes functionality that is
currently implemented in the Apple fork:
https://github.com/apple/llvm-project/tree/next/clang/lib/APINotes

This adds the first compiler options related to API Notes to the
upstream Clang: `-iapinotes-modules` and `-fapinotes-swift-version=`.
However, this does not add the `-fapinotes` flag that enables API Notes,
since the feature is not fully functional yet.




More information about the All-commits mailing list