aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/MemoryBuiltins.cpp
diff options
context:
space:
mode:
authorEgor Zhdan <e_zhdan@apple.com>2024-08-13 12:47:23 +0100
committerGitHub <noreply@github.com>2024-08-13 12:47:23 +0100
commitdc8c217db6329f03a116ef63dafa6de02913d311 (patch)
tree8435ba21c68d680bee3b7e53fb5c439636eb18db /llvm/lib/Analysis/MemoryBuiltins.cpp
parentd550ada5ab6cd6e49de71ac4c9aa27ced4c11de0 (diff)
downloadllvm-dc8c217db6329f03a116ef63dafa6de02913d311.zip
llvm-dc8c217db6329f03a116ef63dafa6de02913d311.tar.gz
llvm-dc8c217db6329f03a116ef63dafa6de02913d311.tar.bz2
[APINotes] Support C++ tag conformances to Swift protocols
This allows adding a Clang attribute `swift_attr("conforms_to:ModuleName.ProtocolName")` to C++ structs via API Notes. The Swift compiler respects this attribute when importing C++ types into Swift by automatically declaring the C++ type as a conforming type to the given Swift protocol. rdar://131388824
Diffstat (limited to 'llvm/lib/Analysis/MemoryBuiltins.cpp')
0 files changed, 0 insertions, 0 deletions