<div dir="ltr">Thanks,<div>It worked!</div><div><br></div><div>Regards,</div><div>Luis.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-14 10:11 GMT+01:00 Michael Haidl <span dir="ltr"><<a href="mailto:haidl@pacxx.org" target="_blank">haidl@pacxx.org</a>></span>:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Aaron is right. FallThrough is a better example attribute.<br>
<br>
Michael<br>
<br>
Aaron Ballman <<a href="mailto:aaron@aaronballman.com">aaron@aaronballman.com</a>> schrieb:<br>
<div class="HOEnZb"><div class="h5"><br>
>On Sat, Dec 13, 2014 at 9:00 AM, Michael Haidl <<a href="mailto:haidl@pacxx.org">haidl@pacxx.org</a>> wrote:<br>
>> Hi!<br>
>><br>
>> I the easiest way for you to add a C++11 attribute to a statement is to<br>
>> follow the LoopHint attribute through the code.<br>
>><br>
>> The attribute is handled in ./lib/Sema/SemaStmtAttr.cpp<br>
><br>
>LoopHint isn't quite the one I would model after since that's a<br>
>pragma. FallThrough, however, is a good statement attribute to model<br>
>after. And the semantic handling for statement attributes is in<br>
>SemaStmtAttr.cpp, as Michael points out.<br>
><br>
>~Aaron<br>
</div></div></blockquote></div><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><span style="font-family:arial;font-size:small">-- </span><br style="font-family:arial;font-size:small"><span style="font-family:arial;font-size:small">-- </span><br style="font-family:arial;font-size:small"><span style="font-family:arial;font-size:small">--------------------------------------------------</span><br style="font-family:arial;font-size:small"><span style="font-family:arial;font-size:small">Luis Miguel Sánchez García</span><br style="font-family:arial;font-size:small"><span style="font-family:arial;font-size:small;border-collapse:collapse">Computer Architecture and Technology Area.</span><div style="font-family:arial;font-size:small">Office 2.2.B08<br><div>Computer Science Department. UNIVERSIDAD CARLOS III DE MADRID<br>Universidad Carlos III de Madrid<br>Avda. de la Universidad, 30<br>28911 Leganés - Madrid - Spain<br>e-mail: <a href="mailto:lmsan@arcos.inf.uc3m.es" style="color:rgb(17,85,204)" target="_blank">lmsan@arcos.inf.uc3m.es</a><br>        <a href="mailto:luismiguel.sanchez@uc3m.es" style="color:rgb(17,85,204)" target="_blank">luismiguel.sanchez@uc3m.es</a><br><br></div><div>Phone: (+34) 91 624 5951<br><div> <br>Linked-In: <a href="http://es.linkedin.com/in/lmsan" style="color:rgb(17,85,204)" target="_blank">http://es.linkedin.com/in/lmsan</a><br>Twitter: <a href="http://twitter.com/lmsanchezgarcia" style="color:rgb(17,85,204)" target="_blank">http://twitter.com/lmsanchezgarcia</a><br>--------------------------------------------------</div></div></div></div></div></div>
</div>