<div dir="ltr">I would like to parser the values of a C++ attribute in clang, but I don't know how to get the information from the AttributeList class.<div><br></div><div><br></div><div>For example, is it better to use?</div><div><br></div><div><div><font face="monospace, monospace">   IdentifierLoc *Value1 = A.getArgAsIdent(0);</font></div><div><font face="monospace, monospace">   IdentifierLoc *Value2 = A.getArgAsIdent(1);</font></div><div><br></div><div>   or</div><div><br></div><div><font face="monospace, monospace">  Expr *Value1 = A.getArgAsExpr(0);<br></font></div><div><font face="monospace, monospace">  Expr *Value2 = A.getArgAsExpr(1);</font></div></div><div><br></div><div>And later?</div><div><br></div><div>Thanks!</div><div><br clear="all"><div>Best regards,</div><div>Luis.</div>-- <br><div class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;font-family:arial">-- </span><br style="font-size:small;font-family:arial"><span style="font-size:small;font-family:arial">-- </span><br style="font-size:small;font-family:arial"><span style="font-size:small;font-family:arial">--------------------------------------------------</span><br style="font-size:small;font-family:arial"><span style="font-size:small;font-family:arial">Luis Miguel Sánchez García</span><br style="font-size:small;font-family:arial"><span style="font-size:small;font-family:arial;border-collapse:collapse">Computer Architecture and Technology Area.</span><div style="font-size:small;font-family:arial">Office 2.2.B08<br><div>Computer Science Department. UNIVERSIDAD CARLOS III DE MADRID<br>Universidad Carlos III de Madrid<br>Avda. de la Universidad, 30<br>28911 Leganés - Madrid - Spain<br>e-mail: <a href="mailto:lmsan@arcos.inf.uc3m.es" style="color:rgb(17,85,204)" target="_blank">lmsan@arcos.inf.uc3m.es</a><br>        <a href="mailto:luismiguel.sanchez@uc3m.es" style="color:rgb(17,85,204)" target="_blank">luismiguel.sanchez@uc3m.es</a><br><br></div><div>Phone: (+34) 91 624 5951<br><div> <br>Linked-In: <a href="http://es.linkedin.com/in/lmsan" style="color:rgb(17,85,204)" target="_blank">http://es.linkedin.com/in/lmsan</a><br>Twitter: <a href="http://twitter.com/lmsanchezgarcia" style="color:rgb(17,85,204)" target="_blank">http://twitter.com/lmsanchezgarcia</a><br>--------------------------------------------------</div></div></div></div></div></div>
</div></div>