mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Dependency Scanning][C++ Interop] Remap lookup of Clang module 'CxxStdlib' to 'std'
Otherwise querying this clang module, e.g. from the corresponding Swift overlay's underlying module import, will fail, since no such module exists. Resolves rdar://151718115
This commit is contained in:
@@ -128,19 +128,6 @@ public:
|
||||
performDependencyScan(ModuleDependencyID rootModuleID,
|
||||
ModuleDependenciesCache &cache);
|
||||
|
||||
/// Query the module dependency info for the Clang module with the given name.
|
||||
/// Explicit by-name lookups are useful for batch mode scanning.
|
||||
std::optional<const ModuleDependencyInfo *>
|
||||
getNamedClangModuleDependencyInfo(StringRef moduleName,
|
||||
ModuleDependenciesCache &cache,
|
||||
ModuleDependencyIDSetVector &discoveredClangModules);
|
||||
|
||||
/// Query the module dependency info for the Swift module with the given name.
|
||||
/// Explicit by-name lookups are useful for batch mode scanning.
|
||||
std::optional<const ModuleDependencyInfo *>
|
||||
getNamedSwiftModuleDependencyInfo(StringRef moduleName,
|
||||
ModuleDependenciesCache &cache);
|
||||
|
||||
/// How many filesystem lookups were performed by the scanner
|
||||
unsigned getNumLookups() { return NumLookups; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user