Skip to content

Commit 86e52c8

Browse files
authored
Merge pull request #9060 from bitjammer/rdar-31854159-migrator-use-language-version-4
2 parents 8741e4c + 60e4985 commit 86e52c8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Migrator/Migrator.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ Migrator::performAFixItMigration() {
9696
CompilerInvocation Invocation { StartInvocation };
9797
Invocation.clearInputs();
9898
Invocation.addInputBuffer(InputBuffer.get());
99+
Invocation.getLangOptions().EffectiveLanguageVersion = { 4, 0, 0 };
99100

100101
CompilerInstance Instance;
101102
if (Instance.setup(Invocation)) {

0 commit comments

Comments
 (0)