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 dadd91e commit acc40edCopy full SHA for acc40ed
clang/lib/Lex/ModuleMap.cpp
@@ -1959,7 +1959,7 @@ void ModuleMapLoader::handleExportDecl(const modulemap::ExportDecl &ED) {
1959
}
1960
1961
void ModuleMapLoader::handleExportAsDecl(const modulemap::ExportAsDecl &EAD) {
1962
- auto ModName = EAD.Id.front();
+ const auto &ModName = EAD.Id.front();
1963
1964
if (!ActiveModule->ExportAsModule.empty()) {
1965
if (ActiveModule->ExportAsModule == ModName.first) {
0 commit comments