Change clang::annotate into clang::annotate_type.
The example will get error like
error: 'annotate' attribute cannot be applied to types
int* [[clang::annotate("category1", "foo", 1)]] f(int[[clang::annotate("category2")]] *);
Differential D139935
[NFC] [Doc] Fix example for AnnotateTypeDocs python3kgae on Dec 13 2022, 7:20 AM. Authored by
Details Change clang::annotate into clang::annotate_type. The example will get error like
Diff Detail
Event TimelineComment Actions I don't particularly know what the intent here was, so I'm hoping that @mboehme will review when he gets back from whatever vacation he's taking. Comment Actions Sorry for the delay. Just to confirm, yes this should of course be annotate_type. Thanks for catching my mistake. @aaron.ballman Thanks for reviewing! |