mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Handling strict conversion criteria for StringRef to std::string from TOT llvm.
This commit is contained in:
committed by
Michael Forster
parent
f769d638c7
commit
8132596e83
@@ -906,7 +906,7 @@ static bool passCursorInfoForDecl(SourceFile* SF,
|
||||
if (ClangMod)
|
||||
ModuleName = ClangMod->getFullModuleName();
|
||||
} else if (VD->getModuleContext() != MainModule) {
|
||||
ModuleName = VD->getModuleContext()->getName().str();
|
||||
ModuleName = VD->getModuleContext()->getName().str().str();
|
||||
}
|
||||
StringRef ModuleInterfaceName;
|
||||
if (auto IFaceGenRef = Lang.getIFaceGenContexts().find(ModuleName, Invok))
|
||||
|
||||
Reference in New Issue
Block a user