HomePhabricator

APINotes: add APINotesYAMLCompiler

Authored by compnerd on Sep 28 2020, 1:26 PM.

Description

APINotes: add APINotesYAMLCompiler

This adds the skeleton of the YAML Compiler for APINotes. This change
only adds the YAML IO model for the API Notes along with a new testing
tool apinotes-test which can be used to verify that can round trip the
YAML content properly. It provides the basis for the future work which
will add a binary serialization and deserialization format to the data
model.

This is based on the code contributed by Apple at
https://github.com/llvm/llvm-project-staging/tree/staging/swift/apinotes.

Differential Revision: https://reviews.llvm.org/D88859
Reviewed By: Gabor Marton

Details

Committed
compnerdNov 5 2020, 10:55 AM
Differential Revision
D88859: APINotes: add APINotesYAMLCompiler
Parents
rG35d625125465: Add default value for MachineInstr::modifiesRegister. NFC.
Branches
Unknown
Tags
Unknown