Skip to content

Commit 923fba7

Browse files
authored
Fixed typos (#38247)
* fix: typo occured -> occurred * fix: typo occured -> occurred * fix: typo depenedency -> dependency
1 parent bcbaacd commit 923fba7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

include/swift/DependencyScan/DependencyScanningTool.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class DependencyScanningTool {
3131
/// Construct a dependency scanning tool.
3232
DependencyScanningTool();
3333

34-
/// Collect the full module depenedency graph for the input, ignoring any
34+
/// Collect the full module dependency graph for the input, ignoring any
3535
/// placeholder modules.
3636
///
3737
/// \returns a \c StringError with the diagnostic output if errors
@@ -47,11 +47,11 @@ class DependencyScanningTool {
4747
llvm::ErrorOr<swiftscan_import_set_t>
4848
getImports(ArrayRef<const char *> Command);
4949

50-
/// Collect the full module depenedency graph for the input collection of
50+
/// Collect the full module dependency graph for the input collection of
5151
/// module names (batch inputs) and output them to the
5252
/// BatchScanInput-specified output locations.
5353
///
54-
/// \returns a \c std::error_code if errors occured during scan.
54+
/// \returns a \c std::error_code if errors occurred during scan.
5555
std::vector<llvm::ErrorOr<swiftscan_dependency_graph_t>>
5656
getDependencies(ArrayRef<const char *> Command,
5757
const std::vector<BatchScanInput> &BatchInput,

include/swift/Syntax/SyntaxData.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ class SyntaxData final : public SyntaxDataRef {
296296

297297
~SyntaxData() {
298298
assert(RefCount == 0 &&
299-
"Destruction occured when there are still references to this.");
299+
"Destruction occurred when there are still references to this.");
300300
if (auto Parent = getParent()) {
301301
Parent->Release();
302302
}

0 commit comments

Comments
 (0)