aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/Expr.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2012-01-10 22:40:09 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2012-01-10 22:40:09 +0000
commit31dfd642d5ac33c4ee0cfe1d7a1d4da455dcc7a4 (patch)
tree093b633a48e717b6a1709a597d98b7c8bef09d8f /lib/AST/Expr.cpp
parent67310745f32be49d85aca83b47a7707f63a82adf (diff)
Add field IsIEEE in FloatingLiteral to distinguish between different 128-bit
floating point formats. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147887 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Expr.cpp')
-rw-r--r--lib/AST/Expr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/Expr.cpp b/lib/AST/Expr.cpp
index bbf54112c8..f87d60f7fb 100644
--- a/lib/AST/Expr.cpp
+++ b/lib/AST/Expr.cpp
@@ -476,7 +476,7 @@ FloatingLiteral::Create(ASTContext &C, const llvm::APFloat &V,
FloatingLiteral *
FloatingLiteral::Create(ASTContext &C, EmptyShell Empty) {
- return new (C) FloatingLiteral(Empty);
+ return new (C) FloatingLiteral(C, Empty);
}
/// getValueAsApproximateDouble - This returns the value as an inaccurate