diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-04-16 18:00:29 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-04-16 18:00:29 +0000 |
| commit | e81335c85ba4766593422df7bfea7fffcc4cb60f (patch) | |
| tree | edb9adc3d64fd3e1e1bd6782377e994da0219354 /clang/lib/Sema/SemaExprCXX.cpp | |
| parent | 954bd598dd218ad82a3b819adc8f9b9c97eaf5ef (diff) | |
| download | bcm5719-llvm-e81335c85ba4766593422df7bfea7fffcc4cb60f.tar.gz bcm5719-llvm-e81335c85ba4766593422df7bfea7fffcc4cb60f.zip | |
Kill ForceRValue once and for all
llvm-svn: 101502
Diffstat (limited to 'clang/lib/Sema/SemaExprCXX.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaExprCXX.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Sema/SemaExprCXX.cpp b/clang/lib/Sema/SemaExprCXX.cpp index 33cc63eb616..c906d22d6f2 100644 --- a/clang/lib/Sema/SemaExprCXX.cpp +++ b/clang/lib/Sema/SemaExprCXX.cpp @@ -1494,7 +1494,6 @@ Sema::PerformImplicitConversion(Expr *&From, QualType ToType, ICS = TryImplicitConversion(From, ToType, /*SuppressUserConversions=*/false, AllowExplicit, - /*ForceRValue=*/false, /*InOverloadResolution=*/false); return PerformImplicitConversion(From, ToType, ICS, Action); } @@ -2369,13 +2368,11 @@ QualType Sema::FindCompositePointerType(Expr *&E1, Expr *&E2, TryImplicitConversion(E1, Composite1, /*SuppressUserConversions=*/false, /*AllowExplicit=*/false, - /*ForceRValue=*/false, /*InOverloadResolution=*/false); ImplicitConversionSequence E2ToC1 = TryImplicitConversion(E2, Composite1, /*SuppressUserConversions=*/false, /*AllowExplicit=*/false, - /*ForceRValue=*/false, /*InOverloadResolution=*/false); bool ToC2Viable = false; @@ -2385,12 +2382,10 @@ QualType Sema::FindCompositePointerType(Expr *&E1, Expr *&E2, E1ToC2 = TryImplicitConversion(E1, Composite2, /*SuppressUserConversions=*/false, /*AllowExplicit=*/false, - /*ForceRValue=*/false, /*InOverloadResolution=*/false); E2ToC2 = TryImplicitConversion(E2, Composite2, /*SuppressUserConversions=*/false, /*AllowExplicit=*/false, - /*ForceRValue=*/false, /*InOverloadResolution=*/false); ToC2Viable = !E1ToC2.isBad() && !E2ToC2.isBad(); } |

