mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge remote-tracking branch 'origin/master' into master-next
This commit is contained in:
@@ -58,7 +58,7 @@ class ImportDepth {
|
||||
|
||||
public:
|
||||
ImportDepth() = default;
|
||||
ImportDepth(ASTContext &context, CompilerInvocation &invocation);
|
||||
ImportDepth(ASTContext &context, const CompilerInvocation &invocation);
|
||||
|
||||
Optional<uint8_t> lookup(StringRef module) {
|
||||
auto I = depths.find(module);
|
||||
@@ -320,7 +320,8 @@ CodeCompletionViewRef CodeCompletionOrganizer::takeResultsView() {
|
||||
// ImportDepth
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
ImportDepth::ImportDepth(ASTContext &context, CompilerInvocation &invocation) {
|
||||
ImportDepth::ImportDepth(ASTContext &context,
|
||||
const CompilerInvocation &invocation) {
|
||||
llvm::DenseSet<ModuleDecl *> seen;
|
||||
std::deque<std::pair<ModuleDecl *, uint8_t>> worklist;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user