Do not copy the FrontendOpts, we want to modify the object.

This commit is contained in:
Vassil Vassilev 2019-05-13 17:25:11 +03:00 committed by SFT
parent 8acc94bfd6
commit 03c9a184ba

View File

@ -1042,7 +1042,7 @@ static void stringifyPreprocSetting(PreprocessorOptions& PPOpts,
}
}
FrontendOptions FrontendOpts = Invocation.getFrontendOpts();
FrontendOptions& FrontendOpts = Invocation.getFrontendOpts();
FrontendOpts.DisableFree = true;
// With modules, we now start adding prebuilt module paths to the CI.