diff options
Diffstat (limited to 'lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp')
| -rw-r--r-- | lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp b/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp index 729486b1020c9..0a529321edc8f 100644 --- a/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp +++ b/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp @@ -1,9 +1,8 @@ //===-- AArch64MCExpr.cpp - AArch64 specific MC expression classes --------===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // @@ -80,8 +79,7 @@ StringRef AArch64MCExpr::getVariantKindName() const { } void AArch64MCExpr::printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const { - if (getKind() != VK_NONE) - OS << getVariantKindName(); + OS << getVariantKindName(); Expr->print(OS, MAI); } |
