diff options
Diffstat (limited to 'clang/lib/Format')
-rw-r--r-- | clang/lib/Format/Format.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp index e1ec2517b48..913c6225ee6 100644 --- a/clang/lib/Format/Format.cpp +++ b/clang/lib/Format/Format.cpp @@ -272,7 +272,6 @@ const char *ParseErrorCategory::name() const LLVM_NOEXCEPT { std::string ParseErrorCategory::message(int EV) const { switch (static_cast<ParseError>(EV)) { - default: llvm_unreachable("unexpected parse error"); case ParseError::Success: return "Success"; case ParseError::Error: @@ -280,6 +279,7 @@ std::string ParseErrorCategory::message(int EV) const { case ParseError::Unsuitable: return "Unsuitable"; } + llvm_unreachable("unexpected parse error"); } FormatStyle getLLVMStyle() { |