[clang] [APINotes] Add SWIFT_RETURNS_(UN)RETAINED support (PR #118938)

via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 6 11:15:54 PST 2024


================
@@ -600,6 +603,15 @@ class FunctionInfo : public CommonEntityInfo {
 
   friend bool operator==(const FunctionInfo &, const FunctionInfo &);
 
+  FunctionInfo &operator|=(const FunctionInfo &RHS) {
----------------
fahadnayyar wrote:

We can remove `|=` operator for `FunctionInfo`. I  just added it as other types had such operator. But it is probably not necessary for this patch!

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


More information about the cfe-commits mailing list