[cfe-commits] [Patch] fix for PR4997

Anton Yartsev anton.yartsev at gmail.com
Sun Jan 15 09:40:53 PST 2012

This fixes PR4997 (http://llvm.org/bugs/show_bug.cgi?id=4997)
Made the processing of all attributes(according to clang tests) with an 
identifier as a first argument treated as a parameter name the special 
case. The common case now is to treat an identifier as an argument. It 
eliminates inadequate error messages.
The case with a template argument as an attribute argument is not 
included in the testcases as there seem to be an additional issue there.

Warning: IsThreadSafetyAttribute and ParseThreadSafetyAttribute methods 
are now unused.

Please review!


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PR4997.patch
Type: text/x-diff
Size: 3044 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120115/1dbebcc1/attachment.patch>

More information about the cfe-commits mailing list