Remove unnecessary cast. NFC
authorPete Cooper <peter_cooper@apple.com>
Tue, 19 May 2015 20:50:14 +0000 (20:50 +0000)
committerPete Cooper <peter_cooper@apple.com>
Tue, 19 May 2015 20:50:14 +0000 (20:50 +0000)
llvm-svn: 237722

llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h

index db48ac9..499b3f5 100644 (file)
@@ -120,7 +120,7 @@ public:
   /// @{
 
   /// Get the kind of this expression.
-  VariantKind getKind() const { return static_cast<VariantKind>(Kind); }
+  VariantKind getKind() const { return Kind; }
 
   /// Get the expression this modifier applies to.
   const MCExpr *getSubExpr() const { return Expr; }