Silence some MSVC warnings about not all control paths returning a value; NFC.
llvm-svn: 318809
This commit is contained in:
parent
020294811f
commit
feeb0b705c
|
|
@ -519,6 +519,7 @@ bool operator==(const Expr &L, const Expr &R) {
|
|||
case Expr::Object:
|
||||
return *L.object() == *R.object();
|
||||
}
|
||||
llvm_unreachable("Unknown expressiopn kind");
|
||||
}
|
||||
} // namespace json
|
||||
} // namespace clangd
|
||||
|
|
|
|||
|
|
@ -162,6 +162,7 @@ public:
|
|||
case T_Array:
|
||||
return Array;
|
||||
}
|
||||
llvm_unreachable("Unknown kind");
|
||||
}
|
||||
|
||||
// Typed accessors return None/nullptr if the Expr is not of this type.
|
||||
|
|
|
|||
Loading…
Reference in New Issue