[cfe-dev] Using the annotate attribute on classes

Jonathan Coe jonathanbcoe at gmail.com
Mon Mar 30 03:03:48 PDT 2015


I think it goes after the class definition.

class C {} __attribute__(X);



> On 30 Mar 2015, at 10:46, Khilan Gudka <Khilan.Gudka at cl.cam.ac.uk> wrote:
> 
> Hi all
> 
> I'm looking for a way to annotate a c++ class and the annotate attribute doesn't seem to work on class declarations? Is there a special way to do it or is it just not possible?
> 
> Cheers
> 
> --
> Khilan Gudka
> Research Associate
> Security Group
> Computer Laboratory
> University of Cambridge
> http://www.cl.cam.ac.uk/~kg365/
> 
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150330/f4230c67/attachment.html>


More information about the cfe-dev mailing list