OSDN Git Service

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 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; }