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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237722 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h

index db48ac9f5692734c63f106fb5880b98c40840c35..499b3f50354a47c98d64ccc7a3ecf0da5225141c 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; }