[cfe-commits] r154844 - in /cfe/trunk: include/clang/AST/ include/clang/Basic/ include/clang/Parse/ include/clang/Sema/ lib/Parse/ lib/Sema/ test/CXX/class/class.mem/ test/CXX/expr/expr.prim/expr.prim.general/ test/CXX/temp/temp.decls/temp.variad
Richard Smith
richard at metafoo.co.uk
Mon Apr 16 12:44:03 PDT 2012
On Mon, Apr 16, 2012 at 11:27 AM, Douglas Gregor <dgregor at apple.com> wrote:
> Author: dgregor
> Date: Mon Apr 16 13:27:27 2012
> New Revision: 154844
>
> URL: http://llvm.org/viewvc/llvm-project?rev=154844&view=rev
> Log:
> Implement the last part of C++ [class.mem]p2, delaying the parsing of
> exception specifications on member functions until after the closing
> '}' for the containing class. This allows, for example, a member
> function to throw an instance of its own class. Fixes PR12564 and a
> fairly embarassing oversight in our C++98/03 support.
>
This feature was removed from the language in DR1308 (which was voted into
the WP at Kona).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120416/dd818984/attachment.html>
More information about the cfe-commits
mailing list