[llvm] 44c401b - [Mips] Remove redundant declarations (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 25 07:41:24 PDT 2021
Author: Kazu Hirata
Date: 2021-09-25T07:41:11-07:00
New Revision: 44c401bdc355baf0fc1264f13d9c31d0c72b7e8e
URL: https://github.com/llvm/llvm-project/commit/44c401bdc355baf0fc1264f13d9c31d0c72b7e8e
DIFF: https://github.com/llvm/llvm-project/commit/44c401bdc355baf0fc1264f13d9c31d0c72b7e8e.diff
LOG: [Mips] Remove redundant declarations (NFC)
Note that identical declarations immediately precede what's being
removed in this patch.
Identified with readability-redundant-declaration.
Added:
Modified:
llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp b/llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
index 6f197e424561..d11bddc4858b 100644
--- a/llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
+++ b/llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
@@ -454,14 +454,6 @@ template <typename InsnType>
static DecodeStatus DecodeDAHIDATI(MCInst &MI, InsnType insn, uint64_t Address,
const void *Decoder);
-template <typename InsnType>
-static DecodeStatus DecodeDAHIDATIMMR6(MCInst &MI, InsnType insn,
- uint64_t Address, const void *Decoder);
-
-template <typename InsnType>
-static DecodeStatus DecodeDAHIDATI(MCInst &MI, InsnType insn, uint64_t Address,
- const void *Decoder);
-
template <typename InsnType>
static DecodeStatus
DecodeAddiGroupBranch(MCInst &MI, InsnType insn, uint64_t Address,
More information about the llvm-commits
mailing list