[llvm-dev] Warning on custom attribute

Irini St via llvm-dev llvm-dev at lists.llvm.org
Wed Oct 12 08:13:15 PDT 2016


Hi list,

I follow all the steps of
http://clang.llvm.org/docs/InternalsManual.html#how-to-add-an-attribute
tutorial on 'how to add an attribute on clang' but still a get an '*unknown
attribute*' warning.

The generated file (AttrList.inc) contains my new attribute.
Therefore, I assume that I need also to attach the new attribute to target
(I support a different one than the built-ins).
But, not sure if I make the correct changes. I'd like to ask your help on
this.

Thank you in advance,

-IS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161012/f10b7037/attachment.html>


More information about the llvm-dev mailing list