Skip to content

Commit

Permalink
[lldb] Silence a GCC warning about missing returns after a fully cove…
Browse files Browse the repository at this point in the history
…red switch. NFC.
  • Loading branch information
mstorsjo committed Aug 11, 2022
1 parent 9637a17 commit a5881e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lldb/tools/lldb-test/lldb-test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,7 @@ static Mangled::NamePreference opts::symtab::getNamePreference() {
case ManglingPreference::MangledWithoutArguments:
return Mangled::ePreferDemangledWithoutArguments;
}
llvm_unreachable("Fully covered switch above!");
}

int opts::symtab::handleSymtabCommand(Debugger &Dbg) {
Expand Down

0 comments on commit a5881e8

Please sign in to comment.