summaryrefslogtreecommitdiff
path: root/libc/src/string/strlen.cpp
diff options
context:
space:
mode:
authorKazuaki Ishizaki <ishizaki@jp.ibm.com>2020-04-06 16:18:55 +0900
committerKazuaki Ishizaki <ishizaki@jp.ibm.com>2020-04-06 16:19:34 +0900
commit0570de73c4822b6b0da4758eefca2a36f01c7445 (patch)
treead8d13908dbf95c6cf80837ca9b9a5b470a13301 /libc/src/string/strlen.cpp
parent1e34ab98fc6f5ea7e264c0cd19d96b87cbd9c8a5 (diff)
[libc] NFC: Fix trivial typo in comments, documents, and messages
Differential Revision: https://reviews.llvm.org/D77462
Diffstat (limited to 'libc/src/string/strlen.cpp')
-rw-r--r--libc/src/string/strlen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/src/string/strlen.cpp b/libc/src/string/strlen.cpp
index 3aeafc37bcc8..ec4b2a0c7a70 100644
--- a/libc/src/string/strlen.cpp
+++ b/libc/src/string/strlen.cpp
@@ -13,7 +13,7 @@
namespace __llvm_libc {
// TODO: investigate the performance of this function.
-// There might be potential for compiler optmization.
+// There might be potential for compiler optimization.
size_t LLVM_LIBC_ENTRYPOINT(strlen)(const char *src) {
const char *end = src;
while (*end != '\0')