File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
stdlib/public/Concurrency Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -135,18 +135,24 @@ void swift::swift_task_enqueueGlobalWithDeadline(
135
135
// Implemented in Swift because we need to obtain the user-defined flags on the executor ref.
136
136
//
137
137
// We could inline this with effort, though.
138
+ #pragma clang diagnostic push
139
+ #pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
138
140
extern " C" SWIFT_CC(swift)
139
141
SerialExecutorRef _task_serialExecutor_getExecutorRef (
140
142
HeapObject *executor, const Metadata *selfType,
141
143
const SerialExecutorWitnessTable *wtable);
144
+ #pragma clang diagnostic pop
142
145
143
146
// Implemented in Swift because we need to obtain the user-defined flags on the executor ref.
144
147
//
145
148
// We could inline this with effort, though.
149
+ #pragma clang diagnostic push
150
+ #pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
146
151
extern " C" SWIFT_CC(swift)
147
152
TaskExecutorRef _task_executor_getTaskExecutorRef (
148
153
HeapObject *executor, const Metadata *selfType,
149
154
const SerialExecutorWitnessTable *wtable);
155
+ #pragma clang diagnostic pop
150
156
151
157
SWIFT_CC (swift)
152
158
static bool swift_task_isOnExecutorImpl(HeapObject *executor,
You can’t perform that action at this time.
0 commit comments