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.
1 parent ee63625 commit e4c32a4Copy full SHA for e4c32a4
clang/lib/Frontend/CompilerInstance.cpp
@@ -1191,7 +1191,7 @@ std::unique_ptr<CompilerInstance> CompilerInstance::cloneForModuleCompileImpl(
1191
FrontendOpts.OriginalModuleMap = std::string(OriginalModuleMapFile);
1192
// Force implicitly-built modules to hash the content of the module file.
1193
HSOpts.ModulesHashContent = true;
1194
- FrontendOpts.Inputs = {Input};
+ FrontendOpts.Inputs = {std::move(Input)};
1195
1196
// Don't free the remapped file buffers; they are owned by our caller.
1197
PPOpts.RetainRemappedFileBuffers = true;
0 commit comments