[cfe-commits] r59408 - /cfe/trunk/lib/AST/ExprConstant.cpp

Neil Booth neil at daikokuya.co.uk
Sun Nov 16 04:49:13 PST 2008


Anders Carlsson wrote:-

> +    APFloat RHS(0.0), LHS(0.0);

Why initialize like this?  It's relatively expensive I think.

It's probably worth creating a default constructor that makes them
positive zeroes, or even getting your E objects to return one
directly.

Neil.



More information about the cfe-commits mailing list