Skip to content

Fixed typos #38247

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 3, 2021
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
6 changes: 3 additions & 3 deletions include/swift/DependencyScan/DependencyScanningTool.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class DependencyScanningTool {
/// Construct a dependency scanning tool.
DependencyScanningTool();

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

/// Collect the full module depenedency graph for the input collection of
/// Collect the full module dependency graph for the input collection of
/// module names (batch inputs) and output them to the
/// BatchScanInput-specified output locations.
///
/// \returns a \c std::error_code if errors occured during scan.
/// \returns a \c std::error_code if errors occurred during scan.
std::vector<llvm::ErrorOr<swiftscan_dependency_graph_t>>
getDependencies(ArrayRef<const char *> Command,
const std::vector<BatchScanInput> &BatchInput,
Expand Down
2 changes: 1 addition & 1 deletion include/swift/Syntax/SyntaxData.h
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ class SyntaxData final : public SyntaxDataRef {

~SyntaxData() {
assert(RefCount == 0 &&
"Destruction occured when there are still references to this.");
"Destruction occurred when there are still references to this.");
if (auto Parent = getParent()) {
Parent->Release();
}
Expand Down