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

Chandler Carruth chandlerc at google.com
Wed Dec 14 11:33:28 PST 2011

On Wed, Dec 14, 2011 at 11:23 AM, Delesley Hutchins <delesley at google.com>wrote:

> 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.

Looks good, please commit.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20111214/3ebfb8e8/attachment.html>

More information about the cfe-commits mailing list