Skip to content

Commit ebd820c

Browse files
authored
Merge pull request #38660 from apple/disable-refactoring-availability-checking
[Refactoring] Disable availability checking to reduce errors
2 parents 43776ce + 3b51e86 commit ebd820c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/swift-refactor/swift-refactor.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ int main(int argc, char *argv[]) {
294294
Invocation.getLangOptions().AttachCommentsToDecls = true;
295295
Invocation.getLangOptions().CollectParsedToken = true;
296296
Invocation.getLangOptions().BuildSyntaxTree = true;
297+
Invocation.getLangOptions().DisableAvailabilityChecking = true;
297298

298299
if (options::EnableExperimentalConcurrency)
299300
Invocation.getLangOptions().EnableExperimentalConcurrency = true;

0 commit comments

Comments
 (0)