mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Refactoring] Disable availability checking to reduce errors
This commit is contained in:
@@ -294,6 +294,7 @@ int main(int argc, char *argv[]) {
|
|||||||
Invocation.getLangOptions().AttachCommentsToDecls = true;
|
Invocation.getLangOptions().AttachCommentsToDecls = true;
|
||||||
Invocation.getLangOptions().CollectParsedToken = true;
|
Invocation.getLangOptions().CollectParsedToken = true;
|
||||||
Invocation.getLangOptions().BuildSyntaxTree = true;
|
Invocation.getLangOptions().BuildSyntaxTree = true;
|
||||||
|
Invocation.getLangOptions().DisableAvailabilityChecking = true;
|
||||||
|
|
||||||
if (options::EnableExperimentalConcurrency)
|
if (options::EnableExperimentalConcurrency)
|
||||||
Invocation.getLangOptions().EnableExperimentalConcurrency = true;
|
Invocation.getLangOptions().EnableExperimentalConcurrency = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user