[cfe-commits] r72678 - in /cfe/trunk: lib/CodeGen/CGCXX.cpp test/CodeGenCXX/new.cpp
Sebastian Redl
sebastian.redl at getdesigned.at
Mon Jun 1 02:31:17 PDT 2009
On Mon, 01 Jun 2009 00:05:16 -0000, Anders Carlsson <andersca at mac.com>
wrote:
> Author: andersca
> Date: Sun May 31 19:05:16 2009
> New Revision: 72678
>
> URL: http://llvm.org/viewvc/llvm-project?rev=72678&view=rev
> Log:
> Check for null correctly for new expressions.
hasEmptyExceptionSpec() is not quite right yet. You check for availability
of a spec plus that the number of declared exceptions is zero. However,
this holds true for the MS extension throw(...) too, so you need to check
that hasAnyExceptionSpec() is false, too.
Sebastian
More information about the cfe-commits
mailing list