Index: include/clang/AST/OperationKinds.h
===================================================================
--- include/clang/AST/OperationKinds.h	(revision 159480)
+++ include/clang/AST/OperationKinds.h	(working copy)
@@ -288,11 +288,11 @@
   ///
   /// This particular cast kind is used for the conversion from a C++11
   /// lambda expression to a block pointer.
-  CK_CopyAndAutoreleaseBlockObject
+  CK_CopyAndAutoreleaseBlockObject,
+
+  CK_Invalid = -1
 };
 
-#define CK_Invalid ((CastKind) -1)
-
 enum BinaryOperatorKind {
   // Operators listed in order of precedence.
   // Note that additions to this should also update the StmtVisitor class.

