diff options
author | Malcolm Parsons <malcolm.parsons@gmail.com> | 2018-01-24 10:33:39 +0000 |
---|---|---|
committer | Malcolm Parsons <malcolm.parsons@gmail.com> | 2018-01-24 10:33:39 +0000 |
commit | 21e545d08d2c6a167da0200b2d642e66e838fac7 (patch) | |
tree | 35003fa2e06b0069758e3a7b67dcca016a55340b /llvm/unittests/ADT/DenseMapTest.cpp | |
parent | 1cb9431e690c41a2ac7246a8c319fcc6161dca23 (diff) | |
download | llvm-21e545d08d2c6a167da0200b2d642e66e838fac7.zip llvm-21e545d08d2c6a167da0200b2d642e66e838fac7.tar.gz llvm-21e545d08d2c6a167da0200b2d642e66e838fac7.tar.bz2 |
Fix typos of occurred and occurrence
llvm-svn: 323318
Diffstat (limited to 'llvm/unittests/ADT/DenseMapTest.cpp')
-rw-r--r-- | llvm/unittests/ADT/DenseMapTest.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/unittests/ADT/DenseMapTest.cpp b/llvm/unittests/ADT/DenseMapTest.cpp index cb5ba68..299d5019 100644 --- a/llvm/unittests/ADT/DenseMapTest.cpp +++ b/llvm/unittests/ADT/DenseMapTest.cpp @@ -384,7 +384,7 @@ TEST(DenseMapCustomTest, DefaultMinReservedSizeTest) { EXPECT_EQ(MemorySize, Map.getMemorySize()); // Check that move was called the expected number of times EXPECT_EQ(ExpectedMaxInitialEntries, CountCopyAndMove::Move); - // Check that no copy occured + // Check that no copy occurred EXPECT_EQ(0, CountCopyAndMove::Copy); // Adding one extra element should grow the map @@ -397,7 +397,7 @@ TEST(DenseMapCustomTest, DefaultMinReservedSizeTest) { // Check that move was called the expected number of times // This relies on move-construction elision, and cannot be reliably tested. // EXPECT_EQ(ExpectedMaxInitialEntries + 2, CountCopyAndMove::Move); - // Check that no copy occured + // Check that no copy occurred EXPECT_EQ(0, CountCopyAndMove::Copy); } @@ -422,7 +422,7 @@ TEST(DenseMapCustomTest, InitialSizeTest) { EXPECT_EQ(MemorySize, Map.getMemorySize()); // Check that move was called the expected number of times EXPECT_EQ(Size, CountCopyAndMove::Move); - // Check that no copy occured + // Check that no copy occurred EXPECT_EQ(0, CountCopyAndMove::Copy); } } @@ -438,7 +438,7 @@ TEST(DenseMapCustomTest, InitFromIterator) { CountCopyAndMove::Move = 0; CountCopyAndMove::Copy = 0; DenseMap<int, CountCopyAndMove> Map(Values.begin(), Values.end()); - // Check that no move occured + // Check that no move occurred EXPECT_EQ(0, CountCopyAndMove::Move); // Check that copy was called the expected number of times EXPECT_EQ(Count, CountCopyAndMove::Copy); @@ -466,7 +466,7 @@ TEST(DenseMapCustomTest, ReserveTest) { EXPECT_EQ(MemorySize, Map.getMemorySize()); // Check that move was called the expected number of times EXPECT_EQ(Size, CountCopyAndMove::Move); - // Check that no copy occured + // Check that no copy occurred EXPECT_EQ(0, CountCopyAndMove::Copy); } } |