swiftlang / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. This fork is used to manage Swift’s stable releases of Clang as well as support the Swift project.
https://llvm.org
Other
1.12k stars 331 forks source link

🍒[APINotes] Support fields of C/C++ structs #9139

Closed egorzhdan closed 2 months ago

egorzhdan commented 2 months ago

This allows annotating fields of C/C++ structs using API Notes.

Previously API Notes supported Objective-C properties, but not fields.

rdar://131548377 (cherry picked from commit b81697718f49b0f353882e178f25981f47b2aa43)

egorzhdan commented 2 months ago

@swift-ci please test LLVM