We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43f078e commit 1af0387Copy full SHA for 1af0387
lib/IDE/ReconstructType.cpp
@@ -915,10 +915,9 @@ GetKindAsDeclKind (Demangle::Node::Kind node_kind)
915
case Demangle::Node::Kind::Protocol:
916
return DeclKind::Protocol;
917
default:
918
- printf ("Missing alias for %s.\n", SwiftDemangleNodeKindToCString(node_kind));
919
- assert (0);
+ llvm_unreachable("Missing alias");
+ // FIXME: can we 'log' SwiftDemangleNodeKindToCString(node_kind))
920
}
921
- llvm_unreachable("Invalid case");
922
923
924
// This should be called with a function type & its associated Decl. If the type is not a function type,
0 commit comments