summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExprScalar.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-08-25 10:28:54 +0000
committerJohn McCall <rjmccall@apple.com>2010-08-25 10:28:54 +0000
commit2536c6da0ec4db6506f93f5f7d65ac1c17348c77 (patch)
tree29819bf87dc6ae5874e44ce9962f04c94bc6f220 /clang/lib/CodeGen/CGExprScalar.cpp
parentb50a088122875184c3dfc96337e631e2e854d2f7 (diff)
downloadbcm5719-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.cpp2
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;
}
OpenPOWER on IntegriCloud