From da3ebe947b2668bab085fa97056ee9523b64b977 Mon Sep 17 00:00:00 2001 From: Zach Panzarino Date: Sat, 5 Dec 2015 04:18:29 +0000 Subject: [PATCH] Fix spelling error in name of function Function name is changed as well as every time that function appears in the code --- include/swift/SIL/Dominance.h | 4 ++-- lib/SIL/Dominance.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/swift/SIL/Dominance.h b/include/swift/SIL/Dominance.h index 03a1b307e1136..a98cee032c69f 100644 --- a/include/swift/SIL/Dominance.h +++ b/include/swift/SIL/Dominance.h @@ -41,7 +41,7 @@ class DominanceInfo : public llvm::DominatorTreeBase { /// 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(); @@ -131,7 +131,7 @@ class PostDominanceInfo : public llvm::DominatorTreeBase { /// 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(); diff --git a/lib/SIL/Dominance.cpp b/lib/SIL/Dominance.cpp index 907b928f0dc6d..7fe21ac8750e8 100644 --- a/lib/SIL/Dominance.cpp +++ b/lib/SIL/Dominance.cpp @@ -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"; @@ -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";