From f0cd2b49f541441dbe35f893a9d81f47878231ec Mon Sep 17 00:00:00 2001 From: Pete Cooper Date: Tue, 19 May 2015 20:50:14 +0000 Subject: [PATCH] Remove unnecessary cast. NFC llvm-svn: 237722 --- llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h b/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h index db48ac9f5692..499b3f50354a 100644 --- a/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h +++ b/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h @@ -120,7 +120,7 @@ public: /// @{ /// Get the kind of this expression. - VariantKind getKind() const { return static_cast(Kind); } + VariantKind getKind() const { return Kind; } /// Get the expression this modifier applies to. const MCExpr *getSubExpr() const { return Expr; }