[clang] [APINotes] Upstream Sema logic to apply API Notes to decls (PR #73017)

Egor Zhdan via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 15 06:14:29 PST 2024


================
@@ -2622,6 +2641,31 @@ def SwiftPrivate : InheritableAttr {
   let SimpleHandler = 1;
 }
 
+def SwiftVersioned : Attr {
+  // This attribute has no spellings as it is only ever created implicitly
+  // from API notes.
+  let Spellings = [];
+  let Args = [VersionArgument<"Version">, AttrArgument<"AttrToAdd">,
----------------
egorzhdan wrote:

I think we can, since this name is never referenced from source. I renamed it.

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


More information about the cfe-commits mailing list