diff options
| author | John McCall <rjmccall@apple.com> | 2010-08-25 10:28:54 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2010-08-25 10:28:54 +0000 |
| commit | 2536c6da0ec4db6506f93f5f7d65ac1c17348c77 (patch) | |
| tree | 29819bf87dc6ae5874e44ce9962f04c94bc6f220 /clang/lib/Sema/SemaExpr.cpp | |
| parent | b50a088122875184c3dfc96337e631e2e854d2f7 (diff) | |
| download | bcm5719-llvm-2536c6da0ec4db6506f93f5f7d65ac1c17348c77.tar.gz bcm5719-llvm-2536c6da0ec4db6506f93f5f7d65ac1c17348c77.zip | |
More incremental progress towards not including Expr.h in Sema.h.
llvm-svn: 112044
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
| -rw-r--r-- | clang/lib/Sema/SemaExpr.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp index 197c44dfa47..c8e8ecda861 100644 --- a/clang/lib/Sema/SemaExpr.cpp +++ b/clang/lib/Sema/SemaExpr.cpp @@ -1480,7 +1480,7 @@ Sema::PerformObjectMemberConversion(Expr *&From, SourceRange FromRange = From->getSourceRange(); SourceLocation FromLoc = FromRange.getBegin(); - ImplicitCastExpr::ResultCategory Category = CastCategory(From); + ExprValueKind VK = CastCategory(From); // C++ [class.member.lookup]p8: // [...] Ambiguities can often be resolved by qualifying a name with its @@ -1518,8 +1518,8 @@ Sema::PerformObjectMemberConversion(Expr *&From, if (PointerConversions) QType = Context.getPointerType(QType); - ImpCastExprToType(From, QType, CastExpr::CK_UncheckedDerivedToBase, - Category, &BasePath); + ImpCastExprToType(From, QType, CK_UncheckedDerivedToBase, + VK, &BasePath); FromType = QType; FromRecordType = QRecordType; @@ -1556,7 +1556,7 @@ Sema::PerformObjectMemberConversion(Expr *&From, if (PointerConversions) UType = Context.getPointerType(UType); ImpCastExprToType(From, UType, CastExpr::CK_UncheckedDerivedToBase, - Category, &BasePath); + VK, &BasePath); FromType = UType; FromRecordType = URecordType; } @@ -1573,7 +1573,7 @@ Sema::PerformObjectMemberConversion(Expr *&From, return true; ImpCastExprToType(From, DestType, CastExpr::CK_UncheckedDerivedToBase, - Category, &BasePath); + VK, &BasePath); return false; } |

