[Refactoring] Disable availability checking to reduce errors

This commit is contained in:
Ben Barham
2021-07-28 13:38:42 +10:00
parent a87d131699
commit 3b51e86796

View File

@@ -294,6 +294,7 @@ int main(int argc, char *argv[]) {
Invocation.getLangOptions().AttachCommentsToDecls = true;
Invocation.getLangOptions().CollectParsedToken = true;
Invocation.getLangOptions().BuildSyntaxTree = true;
Invocation.getLangOptions().DisableAvailabilityChecking = true;
if (options::EnableExperimentalConcurrency)
Invocation.getLangOptions().EnableExperimentalConcurrency = true;