[cfe-dev] manipulating @llvm.var.annotation in AST?

John McCall rjmccall at apple.com
Thu Sep 8 00:06:33 PDT 2011


On Sep 7, 2011, at 8:46 PM, Mark Brown wrote:
> I do not see any kind of AnnotateAttr object in VarDecl or anything it inherits, and I also dont see where AnnotateAttr inherits something for it to be inserted into the AST.

Attr objects represent attributes.  You can add them to arbitrary Decls with Decl::addAttr().

John.



More information about the cfe-dev mailing list