diff options
author | Egor Zhdan <e_zhdan@apple.com> | 2024-07-19 13:35:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-19 13:35:13 +0100 |
commit | 8a79dc7e6f765f3f49c5dd9330fc0826d3362858 (patch) | |
tree | 3adb5520a6ad3d3280bb91e5f73a633c2d9d3f0f /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 007aa6d1b274baf0b4d1c02a8d7d56f219e5f127 (diff) | |
download | llvm-8a79dc7e6f765f3f49c5dd9330fc0826d3362858.zip llvm-8a79dc7e6f765f3f49c5dd9330fc0826d3362858.tar.gz llvm-8a79dc7e6f765f3f49c5dd9330fc0826d3362858.tar.bz2 |
[APINotes] Support annotating C++ methods
This adds support for adding Clang attributes to C++ methods declared
within C++ records by using API Notes.
For instance:
```
Tags:
- Name: IntWrapper
Methods:
- Name: getIncremented
Availability: none
```
This is the first instance of something within a C++ record being
annotated with API Notes, so it adds the necessary infra to make a C++
record an "API Notes context".
Notably this does not add support for nested C++ tags. That will be
added in a follow-up patch.
rdar://131387880
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions