Skip to content

Commit ca555c8

Browse files
committed
NFC: Ignore -Wexit-time-destructors warning in TaskAlloc.cpp.
1 parent 64d0f72 commit ca555c8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

stdlib/toolchain/Compatibility56/Concurrency/TaskAlloc.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,12 @@ static TaskAllocator &allocator(AsyncTask *task) {
4141
// FIXME: this fall-back shouldn't be necessary, but it's useful
4242
// for now, since the current execution tests aren't setting up a task
4343
// properly.
44+
45+
// https://github.com/apple/swift/issues/62761
46+
#pragma clang diagnostic push
47+
#pragma clang diagnostic ignored "-Wexit-time-destructors"
4448
static GlobalAllocator global;
49+
#pragma clang diagnostic pop
4550
return global.allocator;
4651
}
4752

0 commit comments

Comments
 (0)