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 332 forks source link

[clang] Support 'this' position for lifetimebound attribute #9594

Closed Xazax-hun closed 1 week ago

Xazax-hun commented 1 week ago

This patch makes the position -1 interpreted as the position for 'this'. Adds some basic infrastructure and support for lifetimebound attribute.

Cherry-picked from 5f4e3a3ced525c84a5268e51a56fe47b5456fd81

Xazax-hun commented 1 week ago

@swift-ci please test

Xazax-hun commented 1 week ago

@swift-ci please test LLVM