[clang] [llvm] [clang] Implement lifetime analysis for lifetime_capture_by(X) (PR #115921)
Boaz Brickner via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 18 06:01:16 PST 2024
================
@@ -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`.
----------------
bricknerb wrote:
Thanks for clarifying!
I think we should try to find an alternative for limiting the parameter name this way, since it's possible it won't be easy to change in some cases.
Was this already discussed somewhere else?
What constraints do we have on attribute param names?
https://github.com/llvm/llvm-project/pull/115921
More information about the cfe-commits
mailing list