Skip to content

Commit a7d1a65

Browse files
committed
[RISCV] Fix -Wexplicit-specialization-storage-class warnings
1 parent 1517334 commit a7d1a65

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -702,10 +702,10 @@ static constexpr DecoderListEntry DecoderList32[]{
702702
};
703703

704704
// Define bitwidths for various types used to instantiate the decoder.
705-
template <> static constexpr uint32_t llvm::MCD::InsnBitWidth<uint16_t> = 16;
706-
template <> static constexpr uint32_t llvm::MCD::InsnBitWidth<uint32_t> = 32;
705+
template <> constexpr uint32_t llvm::MCD::InsnBitWidth<uint16_t> = 16;
706+
template <> constexpr uint32_t llvm::MCD::InsnBitWidth<uint32_t> = 32;
707707
// Use uint64_t to represent 48 bit instructions.
708-
template <> static constexpr uint32_t llvm::MCD::InsnBitWidth<uint64_t> = 48;
708+
template <> constexpr uint32_t llvm::MCD::InsnBitWidth<uint64_t> = 48;
709709

710710
DecodeStatus RISCVDisassembler::getInstruction32(MCInst &MI, uint64_t &Size,
711711
ArrayRef<uint8_t> Bytes,

0 commit comments

Comments
 (0)