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

Mark Brown mbrowncu98 at gmail.com
Wed Sep 7 17:05:59 PDT 2011


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/cfe-dev/attachments/20110907/58206c7a/attachment.html>


More information about the cfe-dev mailing list