mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove exclusivity support for Swift 3 mode.
Remove the compiler support for exclusivity warnings. Leave runtime support for exclusivity warnings in non-release builds only for unit testing convenience. Remove a test case that checked the warning log output. Modify test cases that relied on successful compilation in the presence of exclusivity violations. Fixes: <rdar://problem/45146046> Remaining -swift-version 3 tests for exclusivity
This commit is contained in:
@@ -87,6 +87,7 @@ static void reportExclusivityConflict(ExclusivityFlags oldAction, void *oldPC,
|
||||
constexpr unsigned framesToSkip = 1;
|
||||
printCurrentBacktrace(framesToSkip);
|
||||
|
||||
// Should be inlined away in release builds.
|
||||
bool keepGoing = isWarningOnly(newFlags);
|
||||
|
||||
RuntimeErrorDetails::Thread secondaryThread = {
|
||||
|
||||
Reference in New Issue
Block a user