APINotes: add property models for YAML attributes
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 5 Nov 2020 23:59:39 +0000 (23:59 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 23 Nov 2020 21:29:17 +0000 (21:29 +0000)
commitf6b02ecd027a825f1f4a1804c464f9f96d9372c9
treed98824a9ef3a6e913d314e7b4c45026895f73118
parent6a2799cf8ecf1b649cfa511aec64256a01f79436
APINotes: add property models for YAML attributes

This adds internal representation of the attributes in a more usable
form.  This is meant to allow programmatic access to the attributes that
are specified in the YAML data.

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

Differential Revision: https://reviews.llvm.org/D91104
Reviewed By: Gabor Marton
clang/include/clang/APINotes/Types.h
clang/lib/APINotes/APINotesTypes.cpp [new file with mode: 0644]
clang/lib/APINotes/CMakeLists.txt