Skip to content

Fix spelling error in name of function #229

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

Closed
wants to merge 1 commit into from
Closed
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/SIL/Dominance.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class DominanceInfo : public llvm::DominatorTreeBase<SILBasicBlock> {

/// Return true if the other dominator tree does not match this dominator
/// tree.
inline bool errorOccuredOnComparison(const DominanceInfo &Other) const {
inline bool errorOccurredOnComparison(const DominanceInfo &Other) const {
const auto *R = getRootNode();
const auto *OtherR = Other.getRootNode();

Expand Down Expand Up @@ -131,7 +131,7 @@ class PostDominanceInfo : public llvm::DominatorTreeBase<SILBasicBlock> {

/// Return true if the other dominator tree does not match this dominator
/// tree.
inline bool errorOccuredOnComparison(const PostDominanceInfo &Other) const {
inline bool errorOccurredOnComparison(const PostDominanceInfo &Other) const {
const auto *R = getRootNode();
const auto *OtherR = Other.getRootNode();

Expand Down
4 changes: 2 additions & 2 deletions lib/SIL/Dominance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ void DominanceInfo::verify() const {
DominanceInfo OtherDT(F);

// And compare.
if (errorOccuredOnComparison(OtherDT)) {
if (errorOccurredOnComparison(OtherDT)) {
llvm::errs() << "DominatorTree is not up to date!\nComputed:\n";
print(llvm::errs());
llvm::errs() << "\nActual:\n";
Expand Down Expand Up @@ -102,7 +102,7 @@ void PostDominanceInfo::verify() const {
PostDominanceInfo OtherDT(F);

// And compare.
if (errorOccuredOnComparison(OtherDT)) {
if (errorOccurredOnComparison(OtherDT)) {
llvm::errs() << "PostDominatorTree is not up to date!\nComputed:\n";
print(llvm::errs());
llvm::errs() << "\nActual:\n";
Expand Down