[cfe-commits] [PATCH] Thread safety analysis: minor fix to attribute parsing

Delesley Hutchins delesley at google.com
Wed Dec 14 11:23:39 PST 2011


This patch fixes the parsing of thread-safety attributes so that empty
attribute lists are allowed, e.g.
 __attribute__((unlock_function())) is allowed, and is the same
as__attribute__((unlock_function)).
This fix is necessary to use existing macros and header files with the
attributes.

   http://codereview.appspot.com/5483083/

   -DeLesley

-- 
DeLesley Hutchins | Software Engineer | delesley at google.com | 505-206-0315
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-empty-arglists.patch
Type: text/x-patch
Size: 1854 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111214/5315c2a5/attachment.bin>


More information about the cfe-commits mailing list