Skip to content

Commit b21de9b

Browse files
committed
[lldb] Silence a GCC warning about missing returns after a fully covered switch. NFC.
1 parent 0cf9e47 commit b21de9b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lldb/source/Plugins/Instruction/RISCV/EmulateInstructionRISCV.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class EmulateInstructionRISCV : public EmulateInstruction {
3333
case eInstructionTypeAll:
3434
return false;
3535
}
36+
llvm_unreachable("Fully covered switch above!");
3637
}
3738

3839
static bool SupportsThisArch(const ArchSpec &arch);

0 commit comments

Comments
 (0)