mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[NFC] Rename swift_runtime_unreachable to swift_unreachable and make it use LLVM's support when available.
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
#include "swift/Reflection/TypeLowering.h"
|
||||
#include "swift/Reflection/TypeRef.h"
|
||||
#include "swift/Reflection/TypeRefBuilder.h"
|
||||
#include "swift/Runtime/Unreachable.h"
|
||||
#include "swift/Basic/Unreachable.h"
|
||||
|
||||
#include <set>
|
||||
#include <unordered_map>
|
||||
@@ -1302,7 +1302,7 @@ private:
|
||||
return true;
|
||||
}
|
||||
|
||||
swift_runtime_unreachable("Unhandled MetadataSourceKind in switch.");
|
||||
swift_unreachable("Unhandled MetadataSourceKind in switch.");
|
||||
}
|
||||
|
||||
/// Read metadata for a captured generic type from a closure context.
|
||||
|
||||
Reference in New Issue
Block a user