aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-24 21:44:20 +0000
committerChris Lattner <sabre@nondot.org>2009-09-24 21:44:20 +0000
commitc77786ebfb8a4dcf223031c7140e454fad3aa702 (patch)
tree719b9aa4f57c20d8ca830f6b0e5ad4c3a10d07b3 /lib/Support
parentedc81f3d96a63163abf9f4b17eb9fdc8068cd9cf (diff)
downloadexternal_llvm-c77786ebfb8a4dcf223031c7140e454fad3aa702.zip
external_llvm-c77786ebfb8a4dcf223031c7140e454fad3aa702.tar.gz
external_llvm-c77786ebfb8a4dcf223031c7140e454fad3aa702.tar.bz2
wrap long lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82715 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/APFloat.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Support/APFloat.cpp b/lib/Support/APFloat.cpp
index bcf3d6d..e431d27 100644
--- a/lib/Support/APFloat.cpp
+++ b/lib/Support/APFloat.cpp
@@ -2839,7 +2839,8 @@ APFloat::bitcastToAPInt() const
float
APFloat::convertToFloat() const
{
- assert(semantics == (const llvm::fltSemantics*)&IEEEsingle && "Float semantics are not IEEEsingle");
+ assert(semantics == (const llvm::fltSemantics*)&IEEEsingle &&
+ "Float semantics are not IEEEsingle");
APInt api = bitcastToAPInt();
return api.bitsToFloat();
}
@@ -2847,7 +2848,8 @@ APFloat::convertToFloat() const
double
APFloat::convertToDouble() const
{
- assert(semantics == (const llvm::fltSemantics*)&IEEEdouble && "Float semantics are not IEEEdouble");
+ assert(semantics == (const llvm::fltSemantics*)&IEEEdouble &&
+ "Float semantics are not IEEEdouble");
APInt api = bitcastToAPInt();
return api.bitsToDouble();
}