Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

Commit

Permalink
[demangler] Use _LIBCPP_UNREACHABLE()
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@309649 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
epilk committed Aug 1, 2017
1 parent f4afd55 commit d25d901
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cxa_demangle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ class ExpandedSpecialSubstitution final : public Node {
case SpecialSubKind::iostream:
return StringView("basic_iostream");
}
return StringView();
_LIBCPP_UNREACHABLE();
}

void printLeft(OutputStream &S) const override {
Expand Down Expand Up @@ -945,7 +945,7 @@ class SpecialSubstitution final : public Node {
case SpecialSubKind::iostream:
return StringView("iostream");
}
return StringView();
_LIBCPP_UNREACHABLE();
}

void printLeft(OutputStream &S) const override {
Expand Down

0 comments on commit d25d901

Please sign in to comment.