[PATCH] D92797: APINotes: add initial stub of APINotesWriter

Saleem Abdulrasool via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 7 16:14:39 PST 2020


compnerd created this revision.
compnerd added reviewers: martong, gribozavr2, MForster.
Herald added subscribers: mgrang, rnkovacs, mgorny.
compnerd requested review of this revision.
Herald added a project: clang.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92797

Files:
  clang/include/clang/APINotes/APINotesWriter.h
  clang/lib/APINotes/APINotesFormat.h
  clang/lib/APINotes/APINotesWriter.cpp
  clang/lib/APINotes/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92797.310049.patch
Type: text/x-patch
Size: 42059 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201208/07f17052/attachment-0001.bin>


More information about the cfe-commits mailing list