Hi,<br><br>Consider this code<br>class [[foo]] c [[foo]];<br><br>Clang generates diagnostic like this:<br>error: an attribute list cannot appear here<br>class [[foo]] c [[foo]];<br>      ^~~~<br><br>I think the first attribute is conforming, and it's the second attribute that should be diagnosed. <br>
Attached the patch that fixes this. <br><br>Thanks<br>Michael<br>