Sourcekit/DocSupport: include fully annotated generic signatures for extension decls. rdar://40906297

This commit is contained in:
Xi Ge
2018-12-04 13:00:16 -08:00
parent d8f12cb096
commit d620dfae5e
11 changed files with 50 additions and 4 deletions

View File

@@ -41,6 +41,7 @@ namespace swift {
class SourceFile;
class SILOptions;
class ValueDecl;
class GenericSignature;
enum class AccessorKind;
namespace syntax {
@@ -377,6 +378,9 @@ public:
swift::TypeOrExtensionDecl Target,
llvm::raw_ostream &OS);
static void
printFullyAnnotatedGenericReq(const swift::GenericSignature *Sig,
llvm::raw_ostream &OS);
/// Tries to resolve the path to the real file-system path. If it fails it
/// returns the original path;
static std::string resolvePathSymlinks(StringRef FilePath);