summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2015-05-19 20:50:14 +0000
committerPete Cooper <peter_cooper@apple.com>2015-05-19 20:50:14 +0000
commitf0cd2b49f541441dbe35f893a9d81f47878231ec (patch)
tree632e3cb5c38040ad9548f08de3d281deb81eed5d /llvm/lib/Target
parentbf19a578e602d65d6d6ccc58586c41958a29b184 (diff)
downloadbcm5719-llvm-f0cd2b49f541441dbe35f893a9d81f47878231ec.tar.gz
bcm5719-llvm-f0cd2b49f541441dbe35f893a9d81f47878231ec.zip
Remove unnecessary cast. NFC
llvm-svn: 237722
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h b/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h
index db48ac9f569..499b3f50354 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<VariantKind>(Kind); }
+ VariantKind getKind() const { return Kind; }
/// Get the expression this modifier applies to.
const MCExpr *getSubExpr() const { return Expr; }
OpenPOWER on IntegriCloud