mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add sentences clarifying “external” dependencies.
This commit is contained in:
@@ -91,7 +91,8 @@ External Dependencies
|
|||||||
=====================
|
=====================
|
||||||
|
|
||||||
External dependencies, including imported Swift module files and Clang headers,
|
External dependencies, including imported Swift module files and Clang headers,
|
||||||
are tracked using a special ``depends-external`` set. The Swift driver
|
are tracked using a special ``depends-external`` set. These dependencies refer
|
||||||
|
to definitions that are external to the module. The Swift driver
|
||||||
interprets this set specially and decides whether or not the cross-module
|
interprets this set specially and decides whether or not the cross-module
|
||||||
dependencies have changed.
|
dependencies have changed.
|
||||||
|
|
||||||
|
|||||||
@@ -123,8 +123,9 @@ private:
|
|||||||
/// The set of marked nodes.
|
/// The set of marked nodes.
|
||||||
llvm::SmallPtrSet<const void *, 16> Marked;
|
llvm::SmallPtrSet<const void *, 16> Marked;
|
||||||
|
|
||||||
/// A list of all "external" dependencies that cannot be resolved just from
|
/// A list of all external dependencies that cannot be resolved
|
||||||
/// this dependency graph.
|
/// just from this dependency graph. They must be resolved from definitions
|
||||||
|
/// outside of this module.
|
||||||
llvm::StringSet<> ExternalDependencies;
|
llvm::StringSet<> ExternalDependencies;
|
||||||
|
|
||||||
/// The interface hash for each node. This determines if the interface of
|
/// The interface hash for each node. This determines if the interface of
|
||||||
|
|||||||
Reference in New Issue
Block a user