aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-17 01:08:43 +0000
committerChris Lattner <sabre@nondot.org>2009-09-17 01:08:43 +0000
commit1581dc7e9c17c8c7e315d70e0b09e8b56b18f520 (patch)
treed7c653a892e41db3b927f5cbdc83b533bc86df9c /include/llvm
parentf7f012381f5d47bb4f8a5a4663311daee8692cbf (diff)
downloadexternal_llvm-1581dc7e9c17c8c7e315d70e0b09e8b56b18f520.zip
external_llvm-1581dc7e9c17c8c7e315d70e0b09e8b56b18f520.tar.gz
external_llvm-1581dc7e9c17c8c7e315d70e0b09e8b56b18f520.tar.bz2
add a version of the APFloat constructor that initializes to 0.0
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82110 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/ADT/APFloat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/ADT/APFloat.h b/include/llvm/ADT/APFloat.h
index d38d831..4d7e7ae 100644
--- a/include/llvm/ADT/APFloat.h
+++ b/include/llvm/ADT/APFloat.h
@@ -173,6 +173,7 @@ namespace llvm {
};
// Constructors.
+ APFloat(const fltSemantics &); // Default construct to 0.0
APFloat(const fltSemantics &, const StringRef &);
APFloat(const fltSemantics &, integerPart);
APFloat(const fltSemantics &, fltCategory, bool negative, unsigned type=0);