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 c72ddcf + 61d3bde commit 826adfdCopy full SHA for 826adfd
lib/ClangImporter/ClangImporter.cpp
@@ -2006,7 +2006,7 @@ ModuleDecl *ClangImporter::Implementation::loadModule(
2006
if (path.front().Item == ctx.Id_CxxStdlib) {
2007
ImportPath::Builder adjustedPath(ctx.getIdentifier("std"), importLoc);
2008
adjustedPath.append(path.getSubmodulePath());
2009
- path = adjustedPath.get().getModulePath(ImportKind::Module);
+ path = adjustedPath.copyTo(ctx).getModulePath(ImportKind::Module);
2010
}
2011
2012
if (!DisableSourceImport)
0 commit comments