[cfe-commits] r115056 - in /cfe/trunk: include/clang/Basic/Attr.td include/clang/Sema/AttributeList.h lib/CodeGen/CodeGenModule.cpp lib/Sema/AttributeList.cpp lib/Sema/SemaDeclAttr.cpp test/CodeGen/attr-naked.c test/Sema/attr-naked.c

Daniel Dunbar daniel at zuster.org
Wed Sep 29 12:36:26 PDT 2010


On Wed, Sep 29, 2010 at 11:31 AM, Anton Korobeynikov
<anton at korobeynikov.info> wrote:
>> Sema should produce an error for targets that don't support this.  A TargetInfo hook is a good way to handle this.
> LLVM implementation of naked attribute is target-neutral...

Yeah, the general facility makes sense on all targets I think, even if
it isn't very useful.

 - Daniel

> --
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State University
>




More information about the cfe-commits mailing list