================ @@ -3951,7 +3958,7 @@ The capturing entity ``X`` can be one of the following: std::set<std::string_view> s; }; -- 'global', 'unknown' (without quotes). +- `global`, `unknown`. ---------------- usx95 wrote:
We would give an error: 'lifetime_capture_by' attribute argument "global" is not a known function parameter; must be a function parameter, 'this', 'global' or 'unknown'. https://github.com/llvm/llvm-project/pull/115921 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits