[all-commits] [llvm/llvm-project] f806be: APINotes: add initial stub of APINotesWriter

Saleem Abdulrasool via All-commits all-commits at lists.llvm.org
Thu Aug 17 08:50:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f806be5eaae156eedeebd3cae2d0894ab0fa65dd
      https://github.com/llvm/llvm-project/commit/f806be5eaae156eedeebd3cae2d0894ab0fa65dd
  Author: Saleem Abdulrasool <abdulras at google.com>
  Date:   2023-08-17 (Thu, 17 Aug 2023)

  Changed paths:
    A clang/include/clang/APINotes/APINotesWriter.h
    M clang/lib/APINotes/APINotesFormat.h
    A clang/lib/APINotes/APINotesWriter.cpp
    M clang/lib/APINotes/CMakeLists.txt

  Log Message:
  -----------
  APINotes: add initial stub of APINotesWriter

This adds the skeleton for serializing out the APINotes data from the
APINotes. The writer uses a private implementation pattern to reduce
the exposed surface to just the programmatic representation of the
APINotes and not expose the details of the bitcode encoding. The format
itself is not considered stable and should only be accessed through the
APINotes Reader and Writer types.

Differential Revision: https://reviews.llvm.org/D92797
Reviewed By: martong




More information about the All-commits mailing list