forked from OSchip/llvm-project
Fix MSVC "not all control paths return a value" warning. NFCI.
llvm-svn: 357253
This commit is contained in:
parent
800b12f90a
commit
945db0bef8
|
@ -949,6 +949,7 @@ static const char *toString(OffsetEncoding OE) {
|
|||
case OffsetEncoding::UnsupportedEncoding:
|
||||
return "unknown";
|
||||
}
|
||||
llvm_unreachable("Unknown clang.clangd.OffsetEncoding");
|
||||
}
|
||||
llvm::json::Value toJSON(const OffsetEncoding &OE) { return toString(OE); }
|
||||
bool fromJSON(const llvm::json::Value &V, OffsetEncoding &OE) {
|
||||
|
|
Loading…
Reference in New Issue