diff options
author | Fangrui Song <i@maskray.me> | 2025-03-20 22:06:15 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2025-03-20 22:06:16 -0700 |
commit | 13bb2f450ef9f64f393fe5527e5ac68362af8ccd (patch) | |
tree | 79d13aa3e705f104c93871e22ec7736a45e53f4f /llvm/lib/MC/MCExpr.cpp | |
parent | c2692afc0a92cd5da140dfcdfff7818a5b8ce997 (diff) | |
download | llvm-13bb2f450ef9f64f393fe5527e5ac68362af8ccd.zip llvm-13bb2f450ef9f64f393fe5527e5ac68362af8ccd.tar.gz llvm-13bb2f450ef9f64f393fe5527e5ac68362af8ccd.tar.bz2 |
[MC] Rename some VariantKind functions to use Specifier
Use the more appropriate term "relocation specifier" and avoid the
variable name `Kind`, which conflicts with MCExpr and FixupKind.
Diffstat (limited to 'llvm/lib/MC/MCExpr.cpp')
-rw-r--r-- | llvm/lib/MC/MCExpr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCExpr.cpp b/llvm/lib/MC/MCExpr.cpp index 4f27b60..db3d2c0 100644 --- a/llvm/lib/MC/MCExpr.cpp +++ b/llvm/lib/MC/MCExpr.cpp @@ -92,9 +92,9 @@ void MCExpr::print(raw_ostream &OS, const MCAsmInfo *MAI, bool InParens) const { if (!MAI) // should only be used by dump() OS << "@<variant " << Kind << '>'; else if (MAI->useParensForSymbolVariant()) // ARM - OS << '(' << MAI->getVariantKindName(Kind) << ')'; + OS << '(' << MAI->getSpecifierName(Kind) << ')'; else - OS << '@' << MAI->getVariantKindName(Kind); + OS << '@' << MAI->getSpecifierName(Kind); } return; |