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 6b7dc43 + acc40ed commit 76af060Copy full SHA for 76af060
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