https://llvm.org/bugs/show_bug.cgi?id=31482
Aaron Ballman <aa...@aaronballman.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Aaron Ballman <aa...@aaronballman.com> --- (In reply to comment #1) > 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. Ah, that's a good point. I didn't notice that. > 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? That might not be a bad idea, but I no longer consider this to be a bug with Clang. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs