<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:aaron@aaronballman.com" title="Aaron Ballman <aaron@aaronballman.com>"> <span class="fn">Aaron Ballman</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Attributes in a type-specifier-seq"
href="https://llvm.org/bugs/show_bug.cgi?id=31482">bug 31482</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Attributes in a type-specifier-seq"
href="https://llvm.org/bugs/show_bug.cgi?id=31482#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Attributes in a type-specifier-seq"
href="https://llvm.org/bugs/show_bug.cgi?id=31482">bug 31482</a>
from <span class="vcard"><a class="email" href="mailto:aaron@aaronballman.com" title="Aaron Ballman <aaron@aaronballman.com>"> <span class="fn">Aaron Ballman</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=31482#c1">comment #1</a>)
<span class="quote">> Here's the grammar:
>
> type-specifier-seq:
> type-specifier attribute-specifier-seq[opt]
> type-specifier type-specifier-seq
>
> Note that this only permits attributes at the end of the sequence, not in
> the middle.</span >
Ah, that's a good point. I didn't notice that.
<span class="quote">> The other compilers are wrong to accept your example. Perhaps we
> could use the 'misplaced attributes' diagnostic instead, and explicitly say
> where the attributes should be written?</span >
That might not be a bad idea, but I no longer consider this to be a bug with
Clang.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>