[clang] [clang] Support 'this' position for lifetimebound attribute (PR #115021)

Gábor Horváth via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 6 04:11:53 PST 2024


================
@@ -730,7 +731,9 @@ class YAMLConverter {
     }
   }
 
-  void convertParams(const ParamsSeq &Params, FunctionInfo &OutInfo) {
+  std::optional<ParamInfo> convertParams(const ParamsSeq &Params,
+                                         FunctionInfo &OutInfo) {
+    std::optional<ParamInfo> thisOrSelf;
----------------
Xazax-hun wrote:

Leaving it as is, as per Doug's point. 

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


More information about the cfe-commits mailing list