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/CodeGen/CGExprScalar.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/CodeGen/CGExprScalar.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGExprScalar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGExprScalar.cpp b/clang/lib/CodeGen/CGExprScalar.cpp index 6901f9b924f..ec491f72409 100644 --- a/clang/lib/CodeGen/CGExprScalar.cpp +++ b/clang/lib/CodeGen/CGExprScalar.cpp @@ -893,7 +893,7 @@ static bool ShouldNullCheckClassCastValue(const CastExpr *CE) { if (const ImplicitCastExpr *ICE = dyn_cast<ImplicitCastExpr>(CE)) { // And that glvalue casts are never null. - if (ICE->getCategory() != ImplicitCastExpr::RValue) + if (ICE->getValueKind() != VK_RValue) return false; } |