[clang] [APINotes] Support nested tags (PR #99655)

Egor Zhdan via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 22 04:28:09 PDT 2024


================
@@ -456,6 +458,7 @@ template <> struct MappingTraits<Tag> {
     IO.mapOptional("EnumKind", T.EnumConvenienceKind);
     IO.mapOptional("SwiftCopyable", T.SwiftCopyable);
     IO.mapOptional("Methods", T.Methods);
+    IO.mapOptional("Tags", T.Tags);
----------------
egorzhdan wrote:

It's just the tags that have associated attributes. It's similar to how Obj-C methods and properties are stored in `struct Class` above.

https://github.com/llvm/llvm-project/pull/99655


More information about the cfe-commits mailing list