We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 561fcc0 commit 448a79dCopy full SHA for 448a79d
llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp
@@ -79,8 +79,7 @@ StringRef AArch64MCExpr::getVariantKindName() const {
79
}
80
81
void AArch64MCExpr::printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const {
82
- if (getKind() != VK_NONE)
83
- OS << getVariantKindName();
+ OS << getVariantKindName();
84
Expr->print(OS, MAI);
85
86
llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h
@@ -22,8 +22,6 @@ namespace llvm {
22
class AArch64MCExpr : public MCTargetExpr {
23
public:
24
enum VariantKind {
25
- VK_NONE = 0x000,
26
-
27
// Symbol locations specifying (roughly speaking) what calculation should be
28
// performed to construct the final address for the relocated
29
// symbol. E.g. direct, via the GOT, ...
0 commit comments