================
@@ -7289,6 +7281,12 @@ def note_counted_by_counter_field : Note<
 
 def err_counted_by_on_nested_pointer : Error<
   "'%select{counted_by|sized_by|counted_by_or_null|sized_by_or_null}0' 
attribute on nested pointer type is not allowed">;
+def err_counted_by_on_return_type : Error<
+  "'%select{counted_by|sized_by|counted_by_or_null|sized_by_or_null}0' 
attribute on a function return type is not yet supported">;
----------------
rapidsna wrote:

Thanks for the suggestion. I filed 
https://github.com/llvm/llvm-project/issues/244481 to follow up on this!

https://github.com/llvm/llvm-project/pull/233582
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to