<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi everyone,</p>
<p>I attach in my ASTConsumer for certain functions an annotation
like this:<br>
</p>
<p><font face="Courier New, Courier, monospace">bool
HandleTopLevelDecl(DeclGroupRef DR) override {</font></p>
<p><font face="Courier New, Courier, monospace"> ...</font></p>
<p><font face="Courier New, Courier, monospace">
functionDecl->addAttr(AnnotateAttr::CreateImplicit(FD->getASTContext(),
"SomeAttribute"));</font></p>
<p><font face="Courier New, Courier, monospace"> ...<br>
</font></p>
<p><font face="Courier New, Courier, monospace">}</font></p>
<p>But how can I later retrieve this annotation in my visitor? <br>
</p>
<p>Any hint is welcome ;-)</p>
<p>Thanks</p>
<p><br>
</p>
<p>Marcel<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
</body>
</html>