[cfe-commits] Attributes on function definitions

Delesley Hutchins delesley at google.com
Wed Feb 15 11:27:10 PST 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-function-definitions.patch
Type: text/x-patch
Size: 17208 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120215/921d76c1/attachment.bin>


More information about the cfe-commits mailing list