[cfe-commits] Attributes on function definitions

Delesley Hutchins delesley at google.com
Wed Feb 15 16:26:20 PST 2012


New patch uploaded to:

  http://codereview.appspot.com/5676055/

Issues with noreturn and test cases are now fixed.

On Wed, Feb 15, 2012 at 11:27 AM, Delesley Hutchins <delesley at google.com> wrote:
> Here's a new version of my previous patch which allows attributes on
> function definitions.  As per our earlier discussion, this version
> only enables thread safety attributes to appear on definitions; all
> other attributes will generate a warning.  IMHO, parsing the attribute
> and issuing a warning is preferable to the ugly and unintuitive syntax
> error that is currently produced.
>
>  http://codereview.appspot.com/5676055/
>
>  -DeLesley
>
> --
> DeLesley Hutchins | Software Engineer | delesley at google.com | 505-206-0315



-- 
DeLesley Hutchins | Software Engineer | delesley at google.com | 505-206-0315




More information about the cfe-commits mailing list