Is there anyway to manipulate @llvm.var.annotation at the AST level?
In the source file you could do something like
__attribute__((annotate("GlobalValAnnotation")));
Is it possible todo something like that with a Clang::DeclRefExpr? Could
something be done to @llvm.var.annotation "by hand"? How do you access
this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20110907/32fdb7ed/attachment.html>
On Wed, Sep 7, 2011 at 1:01 PM, Mark Brown <mbrowncu98 at gmail.com> wrote:> Is there anyway to manipulate @llvm.var.annotation at the AST level? > > In the source file you could do something like > __attribute__((annotate("GlobalValAnnotation"))); > > Is it possible todo something like that with a Clang::DeclRefExpr? Could > something be done to @llvm.var.annotation "by hand"? How do you access this?Please send questions about the clang AST to cfe-dev. -Eli