[cfe-commits] Emit annotate attributes for function declarations

Job Noorman jobnoorman at gmail.com
Mon Jan 28 08:09:41 PST 2013


Hi Dmitri,

Yes, I will add a testcase if someone can confirm the behavior introduced by 
this patch would be accepted. Just to not waste my time writing a testcase for 
a feature that will never make it into Clang :-)

Job

On Monday 28 January 2013 16:59:21 Dmitri Gribenko wrote:
> On Mon, Jan 28, 2013 at 3:35 PM, Job Noorman <jobnoorman at gmail.com> wrote:
> > Attached is a patch that makes sure that annotate attributes are also
> > emitted for function declarations. It simply calls
> > CodeGenModule::AddGlobalAnnotations in
> > CodeGenModule::SetFunctionAttributes
> > instead of in CodeGenModule::EmitGlobalFunctionDefinition.
> > 
> > See http://lists.cs.uiuc.edu/pipermail/cfe-users/2013-January/000046.html
> > for a yet unanswered question I asked about this.
> 
> Hello Job,
> 
> I don't know the answer for your question, but the patch should
> include a testcase.
> 
> Dmitri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130128/01d35a7d/attachment.html>


More information about the cfe-commits mailing list