<div dir="ltr"><div>Hello,</div><div><br></div>I am trying to add custom attributes to function arguments. I can add them using Argument->addAttr(). <div><br></div><div>|    AttrBuilder attrbuilder;<br></div><div><div>|    Attribute attr = Attribute::get(context, "attrname", "attrval");</div><div>|    attrBuilder.addAttribute(attr);<br></div><div>|    arg->addAttr(AttributeSet::get(context, 0, attrBuilder));</div></div><div><br></div><div>But I can't find a way to check if a Argument has attribute "attrname". <br></div><div><div><br></div><div>You can do this for functions with addFnAttribute("attrname", "attrval"), and then query it with hasFnAttribute("attrname"). </div></div><div><br></div><div>Is there a similar API for Arguments which, for some reason, doesn't appear in the documentation? </div><div><br></div><div>Thanks,<br></div><div><br></div><div>Tarun</div></div>