[clang] [clang][analyzer] Support `ownership_{returns,takes}` attributes (PR #98941)
Balazs Benics via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 18 08:16:27 PDT 2024
steakhal wrote:
> > and you can read the docs for the checker, and the attribute at the links.
>
> I can't find any docs for this attribute. As I mentioned, I will fill new issues to fix couple of frontend issues and after that we can write down correct semantics of these attrs.
Thats fine.
> Do you mean that link https://clang.llvm.org/docs/AttributeReference.html#ownership-holds-ownership-returns-ownership-takes?
Yes. Its generated from a tablegen file. Thats why you probably didnt find it.
Look for files with the "td" extension, and "attr" in name. May have a different casing though. Watch out.
https://github.com/llvm/llvm-project/pull/98941
More information about the cfe-commits
mailing list