search for: handlesimpleattr

Displaying 1 result from an estimated 1 matches for "handlesimpleattr".

2015 Mar 24
2
[LLVMdev] Propagate clang attribute to IR
...tr.cpp I added my new attribute to the switch that handle it and created my own handler function. >> I’m trying to simply pass my attribute to the IR attribute list, but, sadly, I have absolutely no idea how to do that. I looked at others handler but none seems to do that. I also tried to use handleSimpleAttribute, but it doesn’t work either. >> >> Any idea how to do that (or enable annotate on ObjC method)? > > handleSimpleAttribute takes the parsed attribute (AttributeList entry) > and turns it into a semantic attribute (Attr subclass). You have to > manually handle the seman...