[libcxx-commits] [libcxx] f1fc29b - [libcxx] Fix typo in comments

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 7 09:15:34 PDT 2023


Author: Eymen Ünay
Date: 2023-08-07T18:15:28+02:00
New Revision: f1fc29b65c554dba82752c731117ccca2e5720dc

URL: https://github.com/llvm/llvm-project/commit/f1fc29b65c554dba82752c731117ccca2e5720dc
DIFF: https://github.com/llvm/llvm-project/commit/f1fc29b65c554dba82752c731117ccca2e5720dc.diff

LOG: [libcxx] Fix typo in comments

Reviewed By: #libc, philnik

Differential Revision: https://reviews.llvm.org/D157213

Added: 
    

Modified: 
    libcxx/test/std/containers/views/views.span/types.pass.cpp
    libcxx/test/tools/clang_tidy_checks/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/containers/views/views.span/types.pass.cpp b/libcxx/test/std/containers/views/views.span/types.pass.cpp
index ad86f621adfd81..be17884dae2955 100644
--- a/libcxx/test/std/containers/views/views.span/types.pass.cpp
+++ b/libcxx/test/std/containers/views/views.span/types.pass.cpp
@@ -19,7 +19,7 @@
 //  using 
diff erence_type        = ptr
diff _t;
 //  using pointer                = element_type *;
 //  using reference              = element_type &;
-//  using const_pointe           = const element_type *;
+//  using const_pointer          = const element_type *;
 //  using const_reference        = const element_type &;
 //  using iterator               = implementation-defined;
 //  using const_iterator         = implementation-defined;

diff  --git a/libcxx/test/tools/clang_tidy_checks/CMakeLists.txt b/libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
index 1cd1f49747a496..a8cd113fc6eb6a 100644
--- a/libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
+++ b/libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
@@ -5,7 +5,7 @@
 set(LLVM_DIR_SAVE ${LLVM_DIR})
 set(Clang_DIR_SAVE ${Clang_DIR})
 
-# TODO LLVM 17 prefer to use teh stable release again instead of ToT.
+# TODO LLVM 17 prefer to use the stable release again instead of ToT.
 # libc++ normally prefers the use the last stable release instead of the ToT.
 # For modules we need ToT since they are still under heavy development. So
 # temporary the ToT version is preferred.


        


More information about the libcxx-commits mailing list