[clang] [APINotes] Support C++ tag conformances to Swift protocols (PR #102664)
Egor Zhdan via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 12 07:22:28 PDT 2024
================
@@ -1230,6 +1231,12 @@ class TagTableInfo : public CommonTypeTableInfo<TagTableInfo, TagInfo> {
} else {
writer.write<uint16_t>(0);
}
+ if (auto ConformsTo = TI.SwiftConformsTo) {
+ writer.write<uint16_t>(ConformsTo->size() + 1);
+ OS.write(ConformsTo->c_str(), ConformsTo->size());
----------------
egorzhdan wrote:
Alright, renamed this.
https://github.com/llvm/llvm-project/pull/102664
More information about the cfe-commits
mailing list