[cfe-dev] [RFC] New attribute `annotate_type`

Martin Brænne via cfe-dev cfe-dev at lists.llvm.org
Mon Oct 11 07:28:21 PDT 2021

I would like to propose a new attribute `annotate_type` that would be
analogous to the existing `annotate` attribute but for use on types. As for
`annotate`, the typical use case would be to add annotations to be used by
static analysis tools.

I have a draft patch implementing this attribute (
https://reviews.llvm.org/D111548), but before it's reviewed I wanted to
solicit some feedback more broadly on whether people feel this makes sense.




Martin *Brænne*

Software Engineer

mboehme at google.com

Google Germany GmbH
Erika-Mann-Straße 33
80363 München

Geschäftsführer: Paul Manicle, Halimah DeLaine Prado

Registergericht und -nummer: Hamburg, HRB 86891

Sitz der Gesellschaft: Hamburg

Diese E-Mail ist vertraulich. Wenn Sie nicht der richtige Adressat sind,
leiten Sie diese bitte nicht weiter, informieren Sie den Absender und
löschen Sie die E-Mail und alle Anhänge. Vielen Dank.

This e-mail is confidential. If you are not the right addressee please do
not forward it, please inform the sender, and please erase this e-mail
including any attachments. Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20211011/e3dae51d/attachment.html>

More information about the cfe-dev mailing list