search for: nofla

Displaying 2 results from an estimated 2 matches for "nofla".

2015 Mar 24
2
[LLVMdev] Propagate clang attribute to IR
...as using annotate((“myFlag”)) and everything was working fine until I tried on ObjC method. It seems that clang just ignore it. So, to be able to *flag* my functions I’m trying to add a *real* attribute to clang. I’ve added a new attribute to clang in tools/clang/include/clang/Basic/Attr.td: def NoFLA : Attr { let Spellings = [GNU<"nofla">, CXX11<"gnu", "nofla">]; } In tools/clang/lib/Sema/SemaDeclAttr.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 attribu...
2015 Mar 24
2
[LLVMdev] Propagate clang attribute to IR
...ng fine until I tried on ObjC method. It seems that clang just ignore it. >> >> So, to be able to *flag* my functions I’m trying to add a *real* attribute to clang. >> >> I’ve added a new attribute to clang in tools/clang/include/clang/Basic/Attr.td: >> >> def NoFLA : Attr { >> let Spellings = [GNU<"nofla">, CXX11<"gnu", "nofla">]; >> } >> >> In tools/clang/lib/Sema/SemaDeclAttr.cpp I added my new attribute to the switch that handle it and created my own handler function. >> I’m trying t...