mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #14358 from compnerd/remove-SWIFT_USE_SWIFTCALL
stdlib: remove vestigial SWIFT_USE_SWIFTCALL
This commit is contained in:
@@ -58,11 +58,6 @@ using namespace swift;
|
||||
#error "The runtime must be built with a compiler that supports swiftcall."
|
||||
#endif
|
||||
|
||||
// Check that the user isn't manually disabling SWIFTCALL.
|
||||
#if defined(SWIFT_USE_SWIFTCALL) && !SWIFT_USE_SWIFTCALL
|
||||
#error "SWIFT_USE_SWIFTCALL=0 is not supported; swiftcall must always be used."
|
||||
#endif
|
||||
|
||||
/// Returns true if the pointer passed to a native retain or release is valid.
|
||||
/// If false, the operation should immediately return.
|
||||
static inline bool isValidPointerForNativeRetain(const void *p) {
|
||||
|
||||
Reference in New Issue
Block a user