diff options
author | Chris Lattner <sabre@nondot.org> | 2009-06-29 17:34:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-06-29 17:34:55 +0000 |
commit | 001d64dd2947c1ce06e3eac257a9a21c65ae4ff3 (patch) | |
tree | 8c09efe691a6c4ebd8163bda5a8790371003c49c /lib/AST/Expr.cpp | |
parent | 16e8be2ac532358d4e413fdfa2643b1876edda78 (diff) |
Fix the FloatingLiteral API to take the isexact flag by value instead of
by pointer.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74432 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Expr.cpp')
-rw-r--r-- | lib/AST/Expr.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/AST/Expr.cpp b/lib/AST/Expr.cpp index fce88cc0da..4d90c7a956 100644 --- a/lib/AST/Expr.cpp +++ b/lib/AST/Expr.cpp @@ -41,8 +41,7 @@ CharacterLiteral* CharacterLiteral::Clone(ASTContext &C) const { } FloatingLiteral* FloatingLiteral::Clone(ASTContext &C) const { - bool exact = IsExact; - return new (C) FloatingLiteral(Value, &exact, getType(), Loc); + return new (C) FloatingLiteral(Value, IsExact, getType(), Loc); } ImaginaryLiteral* ImaginaryLiteral::Clone(ASTContext &C) const { |