mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SymbolGraph] Pick best synthesized member when possible
A type can have multiple overloads available from different protocols from which it inherits. Ask the type checker to pick the best one where possible. rdar://60193198
This commit is contained in:
@@ -239,6 +239,9 @@ int swift_symbolgraph_extract_main(ArrayRef<const char *> Args, const char *Argv
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
const auto &MainFile = M->getMainFile(FileUnitKind::SerializedAST);
|
||||
llvm::errs() << "Emitting symbol graph for module file: " << MainFile.getModuleDefiningPath() << '\n';
|
||||
|
||||
return symbolgraphgen::emitSymbolGraphForModule(M,
|
||||
Options);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user