[libcxx-commits] [PATCH] D130905: [libcxx] Fixed a number of typos
Nikolas Klauser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Aug 2 03:43:41 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc23e2c015fb7: [libcxx] Fixed a number of typos (authored by GabrielRavier, committed by philnik).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130905/new/
https://reviews.llvm.org/D130905
Files:
libcxx/CMakeLists.txt
libcxx/include/__config
libcxx/src/support/runtime/stdexcept_vcruntime.ipp
libcxx/test/libcxx/utilities/optional/optional.object/triviality.abi.pass.cpp
libcxx/test/std/utilities/format/format.formatter/format.context/format.context/ctor.pass.cpp
libcxx/test/support/format_string.h
libcxx/utils/libcxx/test/dsl.py
Index: libcxx/utils/libcxx/test/dsl.py
===================================================================
--- libcxx/utils/libcxx/test/dsl.py
+++ libcxx/utils/libcxx/test/dsl.py
@@ -604,7 +604,7 @@
Parameters are used to customize the behavior of test suites in a user
controllable way. There are two ways of setting the value of a Parameter.
The first one is to pass `--param <KEY>=<VALUE>` when running Lit (or
- equivalenlty to set `litConfig.params[KEY] = VALUE` somewhere in the
+ equivalently to set `litConfig.params[KEY] = VALUE` somewhere in the
Lit configuration files. This method will set the parameter globally for
all test suites being run.
Index: libcxx/test/support/format_string.h
===================================================================
--- libcxx/test/support/format_string.h
+++ libcxx/test/support/format_string.h
@@ -9,7 +9,7 @@
namespace format_string_detail {
inline std::string format_string_imp(const char* msg, ...) {
- // we might need a second shot at this, so pre-emptivly make a copy
+ // we might need a second shot at this, so pre-emptively make a copy
struct GuardVAList {
va_list& xtarget;
bool active;
Index: libcxx/test/std/utilities/format/format.formatter/format.context/format.context/ctor.pass.cpp
===================================================================
--- libcxx/test/std/utilities/format/format.formatter/format.context/format.context/ctor.pass.cpp
+++ libcxx/test/std/utilities/format/format.formatter/format.context/format.context/ctor.pass.cpp
@@ -18,7 +18,7 @@
// basic_format_context(Out out,
// basic_format_args<basic_format_context> args,
// std::optional<std::::locale>&& loc = std::nullopt);
-// If compliled with -D_LIBCPP_HAS_NO_LOCALIZATION
+// If compiled with -D_LIBCPP_HAS_NO_LOCALIZATION
// basic_format_context(Out out,
// basic_format_args<basic_format_context> args);
Index: libcxx/test/libcxx/utilities/optional/optional.object/triviality.abi.pass.cpp
===================================================================
--- libcxx/test/libcxx/utilities/optional/optional.object/triviality.abi.pass.cpp
+++ libcxx/test/libcxx/utilities/optional/optional.object/triviality.abi.pass.cpp
@@ -13,7 +13,7 @@
// This test asserts the triviality of special member functions of optional<T>
// whenever T has these special member functions trivial. The goal of this test
// is to make sure that we do not change the triviality of those, since that
-// constitues an ABI break (small enough optionals would be passed by registers).
+// constitutes an ABI break (small enough optionals would be passed by registers).
//
// constexpr optional(const optional& rhs);
// constexpr optional(optional&& rhs) noexcept(see below);
Index: libcxx/src/support/runtime/stdexcept_vcruntime.ipp
===================================================================
--- libcxx/src/support/runtime/stdexcept_vcruntime.ipp
+++ libcxx/src/support/runtime/stdexcept_vcruntime.ipp
@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
#ifndef _LIBCPP_ABI_VCRUNTIME
-#error This file may only be used when defering to vcruntime
+#error This file may only be used when deferring to vcruntime
#endif
namespace std {
Index: libcxx/include/__config
===================================================================
--- libcxx/include/__config
+++ libcxx/include/__config
@@ -771,7 +771,7 @@
# if !defined(_LIBCPP_DISABLE_DEPRECATION_WARNINGS)
# if __has_attribute(deprecated)
# define _LIBCPP_DEPRECATED __attribute__((deprecated))
-# define _LIBCPP_DEPRECATED_(m) __attribute__((deprected(m)))
+# define _LIBCPP_DEPRECATED_(m) __attribute__((deprecated(m)))
# elif _LIBCPP_STD_VER > 11
# define _LIBCPP_DEPRECATED [[deprecated]]
# define _LIBCPP_DEPRECATED_(m) [[deprecated(m)]]
Index: libcxx/CMakeLists.txt
===================================================================
--- libcxx/CMakeLists.txt
+++ libcxx/CMakeLists.txt
@@ -524,7 +524,7 @@
# When building the dylib, don't warn for unavailable aligned allocation
# functions based on the deployment target -- they are always available
- # because they are provided by the dylib itself with the excepton of z/OS.
+ # because they are provided by the dylib itself with the exception of z/OS.
if (ZOS)
target_add_compile_flags_if_supported(${target} PRIVATE -fno-aligned-allocation)
else()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130905.449250.patch
Type: text/x-patch
Size: 4522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220802/c91637dc/attachment.bin>
More information about the libcxx-commits
mailing list