[cfe-commits] r72580 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td include/clang/Parse/DeclSpec.h include/clang/Parse/Parser.h lib/Parse/DeclSpec.cpp lib/Parse/ParseDecl.cpp lib/Parse/ParseDeclCXX.cpp lib/Parse/ParseExpr.cpp lib/Sem

Eli Friedman eli.friedman at gmail.com
Fri May 29 11:37:25 PDT 2009


On Fri, May 29, 2009 at 11:02 AM, Sebastian
Redl<sebastian.redl at getdesigned.at> wrote:
> +  // C++ 15.4p2: A type denoted in an exception-specification shall not denote
> +  //   an incomplete type a pointer or reference to an incomplete type, other
> +  //   than (cv) void*.
> +  // The standard does not mention member pointers, but it has to mean them too.

Despite this comment, neither gcc nor comeau rejects "struct i; void
j() throw(i (i::*));".

-Eli




More information about the cfe-commits mailing list