Skip to content

Commit cf85fc5

Browse files
authored
Merge pull request #58568 from jsoref/spelling-lib-symbolgraphgen
Spelling lib symbolgraphgen
2 parents a89f14d + dbaa132 commit cf85fc5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lib/SymbolGraphGen/AvailabilityMixin.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ struct Availability {
6767

6868
/// Returns true if this availability item doesn't have
6969
/// any introduced version, deprecated version, obsoleted version,
70-
/// or uncondtional deprecation status.
70+
/// or unconditional deprecation status.
7171
///
7272
/// \note \c message and \c renamed are not considered.
7373
bool empty() const;

lib/SymbolGraphGen/Symbol.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ static SubstitutionMap getSubMapForDecl(const ValueDecl *D, Type BaseType) {
367367
return {};
368368

369369
// Map from the base type into the this declaration's innermost type context,
370-
// or if we're dealing with an extention rather than a member, into its
370+
// or if we're dealing with an extension rather than a member, into its
371371
// extended nominal (the extension's own requirements shouldn't be considered
372372
// in the substitution).
373373
swift::DeclContext *DC;

lib/SymbolGraphGen/Symbol.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class Symbol {
5353
SourceManager &SourceMgr,
5454
llvm::json::OStream &OS) const;
5555

56-
void serializeRange(size_t InitialIdentation,
56+
void serializeRange(size_t InitialIndentation,
5757
SourceRange Range, SourceManager &SourceMgr,
5858
llvm::json::OStream &OS) const;
5959

@@ -101,7 +101,7 @@ class Symbol {
101101
return SynthesizedBaseTypeDecl;
102102
}
103103

104-
/// Reteive the path components associated with this symbol, from outermost
104+
/// Retrieve the path components associated with this symbol, from outermost
105105
/// to innermost (this symbol).
106106
void getPathComponents(SmallVectorImpl<PathComponent> &Components) const;
107107

0 commit comments

Comments
 (0)