[LLVMbugs] [Bug 9922] 'final' pseudo-keyword consumed too greedily
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Apr 26 01:11:42 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=9922
Richard Smith <richard-llvm at metafoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #7 from Richard Smith <richard-llvm at metafoo.co.uk> 2012-04-26 03:11:42 CDT ---
This was all fixed by our implementing (the intent of) DR1318.
class-key identifier 'final' '{'
and
class-key identifier 'final' ':'
are now always treated as the definition of a final class (even in C++98 mode).
There is no problem with accepting 'final' here in C++98 mode, since the first
form does not match any grammar production, and the second form only matches a
bitfield (which would be ill-formed).
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list