summaryrefslogtreecommitdiffstats
path: root/llvm/utils/unittest/googletest
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/utils/unittest/googletest')
-rw-r--r--llvm/utils/unittest/googletest/gtest-filepath.cc2
-rw-r--r--llvm/utils/unittest/googletest/gtest.cc2
-rw-r--r--llvm/utils/unittest/googletest/include/gtest/internal/gtest-filepath.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/llvm/utils/unittest/googletest/gtest-filepath.cc b/llvm/utils/unittest/googletest/gtest-filepath.cc
index c1ef9188ad8..8d1d67ec7b8 100644
--- a/llvm/utils/unittest/googletest/gtest-filepath.cc
+++ b/llvm/utils/unittest/googletest/gtest-filepath.cc
@@ -123,7 +123,7 @@ FilePath FilePath::RemoveExtension(const char* extension) const {
return *this;
}
-// Returns a pointer to the last occurence of a valid path separator in
+// Returns a pointer to the last occurrence of a valid path separator in
// the FilePath. On Windows, for example, both '/' and '\' are valid path
// separators. Returns NULL if no path separator was found.
const char* FilePath::FindLastPathSeparator() const {
diff --git a/llvm/utils/unittest/googletest/gtest.cc b/llvm/utils/unittest/googletest/gtest.cc
index 51732afd499..9aa54411497 100644
--- a/llvm/utils/unittest/googletest/gtest.cc
+++ b/llvm/utils/unittest/googletest/gtest.cc
@@ -1415,7 +1415,7 @@ AssertionResult IsHRESULTFailure(const char* expr, long hr) { // NOLINT
// Utility functions for encoding Unicode text (wide strings) in
// UTF-8.
-// A Unicode code-point can have upto 21 bits, and is encoded in UTF-8
+// A Unicode code-point can have up to 21 bits, and is encoded in UTF-8
// like this:
//
// Code-point length Encoding
diff --git a/llvm/utils/unittest/googletest/include/gtest/internal/gtest-filepath.h b/llvm/utils/unittest/googletest/include/gtest/internal/gtest-filepath.h
index 4b76d79506b..efbc176029f 100644
--- a/llvm/utils/unittest/googletest/include/gtest/internal/gtest-filepath.h
+++ b/llvm/utils/unittest/googletest/include/gtest/internal/gtest-filepath.h
@@ -196,7 +196,7 @@ class GTEST_API_ FilePath {
void Normalize();
- // Returns a pointer to the last occurence of a valid path separator in
+ // Returns a pointer to the last occurrence of a valid path separator in
// the FilePath. On Windows, for example, both '/' and '\' are valid path
// separators. Returns NULL if no path separator was found.
const char* FindLastPathSeparator() const;
OpenPOWER on IntegriCloud