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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41924 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2007-09-13 06:15:57 +00:00
parent 3d6992fc7b
commit 8a901985bc

View File

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