================
@@ -511,6 +511,10 @@ static void ProcessAPINotes(Sema &S, FunctionOrMethod 
AnyFunc,
       AnyTypeChanged = true;
   }
 
+  // returns_(un)retained
+  if (!Info.SwiftReturnOwnership.empty())
----------------
Xazax-hun wrote:

There are other places where we do not validate strings. Feel free to ignore 
this comment. 

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

Reply via email to