diff options
-rw-r--r-- | include/llvm/ADT/APFloat.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/ADT/APFloat.h b/include/llvm/ADT/APFloat.h index baa9de0257..b53f9fb377 100644 --- a/include/llvm/ADT/APFloat.h +++ b/include/llvm/ADT/APFloat.h @@ -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(); |