[SymbolGraph] Don't print inherited list in declaration fragments

Add a new `PrintInherited` flag to `PrintOptions` to support this.

rdar://63033669
This commit is contained in:
Ashley Garland
2020-06-04 11:52:51 -07:00
parent 5e1eadc96f
commit a72231128e
4 changed files with 10 additions and 1 deletions

View File

@@ -61,6 +61,7 @@ PrintOptions SymbolGraph::getDeclarationFragmentsPrintOptions() const {
Opts.SkipPrivateStdlibDecls = true;
Opts.SkipUnderscoredStdlibProtocols = true;
Opts.PrintGenericRequirements = true;
Opts.PrintInherited = false;
Opts.ExclusiveAttrList.clear();