Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/swift/AST/PrintOptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -573,12 +573,12 @@ struct PrintOptions {
QualifyNestedDeclarations::Never;

/// If true, we print a protocol's primary associated types using the
/// primary associated type syntax: protocol Foo<Type1, ...>.
/// primary associated type syntax: `protocol Foo<Type1, ...>`.
///
/// If false, we print them as ordinary associated types.
bool PrintPrimaryAssociatedTypes = true;

/// Whether or not to print \c @attached(extension) attributes on
/// Whether or not to print `@attached(extension)` attributes on
/// macro declarations. This is used for feature suppression in
/// Swift interface printing.
bool PrintExtensionMacroAttributes = true;
Expand Down
1 change: 1 addition & 0 deletions lib/AST/Module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,7 @@ void SourceLookupCache::lookupVisibleDecls(ImportPath::Access AccessPath,
SmallVector<MissingDecl *, 4> unexpandedDecls;
for (auto &entry : TopLevelAuxiliaryDecls) {
for (auto &decl : entry.second) {
(void) decl;
unexpandedDecls.append(entry.second.begin(), entry.second.end());
}
}
Expand Down
1 change: 0 additions & 1 deletion lib/ConstExtract/ConstExtract.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,6 @@ void writeParameterizedProtocolSameTypeRequirements(
llvm::json::OStream &JSON,
const ParameterizedProtocolType &ParameterizedProtoTy) {
auto Protocol = ParameterizedProtoTy.getProtocol();
auto ProtocolTy = ParameterizedProtoTy.getBaseType();
auto Requirements = Protocol->getProtocolRequirements();
auto ParameterTypeNames = Protocol->getPrimaryAssociatedTypeNames();
auto ProtocolArguments = ParameterizedProtoTy.getArgs();
Expand Down