[cfe-commits] r72678 - in /cfe/trunk: lib/CodeGen/CGCXX.cpp test/CodeGenCXX/new.cpp
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>
> Author: andersca
> Date: Sun May 31 19:05:16 2009
> New Revision: 72678
> URL: http://llvm.org/viewvc/llvm-project?rev=72678&view=rev
> 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.
More information about the cfe-commits