More incremental progress towards not including Expr.h in Sema.h.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112044 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/StmtDumper.cpp b/lib/AST/StmtDumper.cpp
index 3707b61..44601e0 100644
--- a/lib/AST/StmtDumper.cpp
+++ b/lib/AST/StmtDumper.cpp
@@ -340,14 +340,14 @@
 
 void StmtDumper::VisitImplicitCastExpr(ImplicitCastExpr *Node) {
   VisitCastExpr(Node);
-  switch (Node->getCategory()) {
-  case ImplicitCastExpr::LValue:
+  switch (Node->getValueKind()) {
+  case VK_LValue:
     OS << " lvalue";
     break;
-  case ImplicitCastExpr::XValue:
+  case VK_XValue:
     OS << " xvalue";
     break;
-  default:
+  case VK_RValue:
     break;
   }
 }