[all-commits] [llvm/llvm-project] 82f86a: APINotes: add APINotesYAMLCompiler
Saleem Abdulrasool via All-commits
all-commits at lists.llvm.org
Thu Nov 5 10:55:47 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 82f86ae01a54ff8e3a5aaefd24745ef2b7b917ba
https://github.com/llvm/llvm-project/commit/82f86ae01a54ff8e3a5aaefd24745ef2b7b917ba
Author: Saleem Abdulrasool <compnerd at compnerd.org>
Date: 2020-11-05 (Thu, 05 Nov 2020)
Changed paths:
A clang/include/clang/APINotes/APINotesYAMLCompiler.h
A clang/include/clang/APINotes/Types.h
A clang/lib/APINotes/APINotesYAMLCompiler.cpp
A clang/lib/APINotes/CMakeLists.txt
M clang/lib/CMakeLists.txt
A clang/test/APINotes/Inputs/Frameworks/Simple.framework/Headers/Simple.apinotes
A clang/test/APINotes/Inputs/Frameworks/Simple.framework/Headers/Simple.h
A clang/test/APINotes/Inputs/Frameworks/SimpleKit.framework/Headers/SimpleKit.apinotes
A clang/test/APINotes/Inputs/Frameworks/SimpleKit.framework/Headers/SimpleKit.h
A clang/test/APINotes/Inputs/Frameworks/SimpleKit.framework/Headers/module.modulemap
A clang/test/APINotes/yaml-roundtrip-2.test
A clang/test/APINotes/yaml-roundtrip.test
M clang/test/CMakeLists.txt
M clang/test/lit.cfg.py
M clang/tools/CMakeLists.txt
A clang/tools/apinotes-test/APINotesTest.cpp
A clang/tools/apinotes-test/CMakeLists.txt
Log Message:
-----------
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
More information about the All-commits
mailing list