1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Make single-argument ctors explicit to avoid tricky bugs :)

llvm-svn: 41924
This commit is contained in:
Chris Lattner 2007-09-13 06:15:57 +00:00
parent f672250ee0
commit 7b29e6a714

View File

@ -168,9 +168,9 @@ namespace llvm {
APFloat(const fltSemantics &, const char *);
APFloat(const fltSemantics &, integerPart);
APFloat(const fltSemantics &, fltCategory, bool negative);
APFloat(double d);
APFloat(float f);
APFloat(const APInt &);
explicit APFloat(double d);
explicit APFloat(float f);
explicit APFloat(const APInt &);
APFloat(const APFloat &);
~APFloat();