diff options
Diffstat (limited to 'include/clang/AST/OperationKinds.h')
-rw-r--r-- | include/clang/AST/OperationKinds.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/OperationKinds.h b/include/clang/AST/OperationKinds.h index 258637d7f9bd..63594141ac66 100644 --- a/include/clang/AST/OperationKinds.h +++ b/include/clang/AST/OperationKinds.h @@ -291,7 +291,7 @@ enum CastKind { CK_CopyAndAutoreleaseBlockObject }; -#define CK_Invalid ((CastKind) -1) +static const CastKind CK_Invalid = static_cast<CastKind>(-1); enum BinaryOperatorKind { // Operators listed in order of precedence. |