================
@@ -1944,6 +1944,13 @@ def ReturnsTwice : InheritableAttr {
   let SimpleHandler = 1;
 }
 
+def UnnamedAddr : InheritableAttr {
+  let Spellings = [Clang<"unnamed_addr">];
+  let Subjects = SubjectList<[Function]>;
+  let Documentation = [Undocumented];
----------------
Sirraide wrote:

I think for new attributes, we generally do prefer to document them. This 
attribute especially seems like it would benefit from documentation, so please 
add some for it. Doesn’t have to be much, just a sentence or two explaining 
that it adds the LLVM attribute and an example would be enough imo.

https://github.com/llvm/llvm-project/pull/92499
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to