We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8741e4c + 60e4985 commit 86e52c8Copy full SHA for 86e52c8
lib/Migrator/Migrator.cpp
@@ -96,6 +96,7 @@ Migrator::performAFixItMigration() {
96
CompilerInvocation Invocation { StartInvocation };
97
Invocation.clearInputs();
98
Invocation.addInputBuffer(InputBuffer.get());
99
+ Invocation.getLangOptions().EffectiveLanguageVersion = { 4, 0, 0 };
100
101
CompilerInstance Instance;
102
if (Instance.setup(Invocation)) {
0 commit comments