aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaExprCXX.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-12-19 02:44:49 +0000
committerJohn McCall <rjmccall@apple.com>2010-12-19 02:44:49 +0000
commite6a365d772a6b455f1e23ac9ae5f40d65a55a18c (patch)
tree5e0509d9e019e04d66281b725054c5fe3e136bc4 /lib/Sema/SemaExprCXX.cpp
parentf45fbad13ee1f143a2cb6e806fefe22b48f68940 (diff)
Motions towards simplifying how we deal with attribute-qualified function types.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122162 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExprCXX.cpp')
-rw-r--r--lib/Sema/SemaExprCXX.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Sema/SemaExprCXX.cpp b/lib/Sema/SemaExprCXX.cpp
index 9dcf9003dc..79b9c45e22 100644
--- a/lib/Sema/SemaExprCXX.cpp
+++ b/lib/Sema/SemaExprCXX.cpp
@@ -1895,8 +1895,7 @@ Sema::PerformImplicitConversion(Expr *&From, QualType ToType,
if (CheckExceptionSpecCompatibility(From, ToType))
return true;
- ImpCastExprToType(From, Context.getNoReturnType(From->getType(), false),
- CK_NoOp);
+ ImpCastExprToType(From, ToType, CK_NoOp);
break;
case ICK_Integral_Promotion: