diff options
author | Abhishek Kaushik <abhishek.kaushik@intel.com> | 2025-08-10 21:46:17 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-10 21:46:17 +0530 |
commit | 9247b51a02b5cf92195f6cd6e82e392619ae5235 (patch) | |
tree | 35e8555f97d2a57b646f39eb67294320d19380eb | |
parent | 4066d796e9086916afd130e758ac12811ba796ce (diff) | |
download | llvm-9247b51a02b5cf92195f6cd6e82e392619ae5235.zip llvm-9247b51a02b5cf92195f6cd6e82e392619ae5235.tar.gz llvm-9247b51a02b5cf92195f6cd6e82e392619ae5235.tar.bz2 |
[NFC][MC] Removed unused switch case in `emitCATTR` (#152907)
The switch statement `switch (Rmode)` is in an if-block that checks if
`Rmode != GOFF::ESD_RMODE_None` making the `case GOFF::ESD_RMODE_None:`
unnecessary.
-rw-r--r-- | llvm/lib/MC/MCAsmInfoGOFF.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCAsmInfoGOFF.cpp b/llvm/lib/MC/MCAsmInfoGOFF.cpp index 0a5d1927..d350204 100644 --- a/llvm/lib/MC/MCAsmInfoGOFF.cpp +++ b/llvm/lib/MC/MCAsmInfoGOFF.cpp @@ -71,8 +71,6 @@ static void emitCATTR(raw_ostream &OS, StringRef Name, GOFF::ESDRmode Rmode, case GOFF::ESD_RMODE_64: OS << "64"; break; - case GOFF::ESD_RMODE_None: - break; } OS << ')'; } |