summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2019-03-20 17:05:52 +0000
committerLouis Dionne <ldionne@apple.com>2019-03-20 17:05:52 +0000
commit77bca6d29682f75c7103443166c76621120a6035 (patch)
tree04301b1f9a66d4f3194e8a0fdcb24d4b726da417
parent621e8b438701e928b4f3ac9044c47925fe0e19f9 (diff)
downloadbcm5719-llvm-77bca6d29682f75c7103443166c76621120a6035.tar.gz
bcm5719-llvm-77bca6d29682f75c7103443166c76621120a6035.zip
[NFC] Fix a couple of typos in libc++'s __config
llvm-svn: 356574
-rw-r--r--libcxx/include/__config8
1 files changed, 4 insertions, 4 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config
index 9a58a2f92c2..c9c634dc128 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -96,7 +96,7 @@
// Enable optimized version of __do_get_(un)signed which avoids redundant copies.
# define _LIBCPP_ABI_OPTIMIZED_LOCALE_NUM_GET
// Use the smallest possible integer type to represent the index of the variant.
-// Previously libc++ used "unsigned int" exclusivly.
+// Previously libc++ used "unsigned int" exclusively.
# define _LIBCPP_ABI_VARIANT_INDEX_TYPE_OPTIMIZATION
// Unstable attempt to provide a more optimized std::function
# define _LIBCPP_ABI_OPTIMIZED_FUNCTION
@@ -264,7 +264,7 @@
# define _LIBCPP_WIN32API
# define _LIBCPP_LITTLE_ENDIAN
# define _LIBCPP_SHORT_WCHAR 1
-// Both MinGW and native MSVC provide a "MSVC"-like enviroment
+// Both MinGW and native MSVC provide a "MSVC"-like environment
# define _LIBCPP_MSVCRT_LIKE
// If mingw not explicitly detected, assume using MS C runtime only if
// a MS compatibility version is specified.
@@ -784,7 +784,7 @@ typedef __char32_t char32_t;
#else
// Try to approximate the effect of exclude_from_explicit_instantiation
// (which is that entities are not assumed to be provided by explicit
- // template instantitations in the dylib) by always inlining those entities.
+ // template instantiations in the dylib) by always inlining those entities.
# define _LIBCPP_EXCLUDE_FROM_EXPLICIT_INSTANTIATION _LIBCPP_ALWAYS_INLINE
#endif
@@ -982,7 +982,7 @@ template <unsigned> struct __static_assert_check {};
#if defined(_LIBCPP_MSVCRT) && defined(_MSC_VER) && _MSC_VER < 1912
# define _LIBCPP_HAS_NO_LIBRARY_ALIGNED_ALLOCATION
#elif defined(_LIBCPP_ABI_VCRUNTIME) && !defined(__cpp_aligned_new)
- // We're defering to Microsoft's STL to provide aligned new et al. We don't
+ // We're deferring to Microsoft's STL to provide aligned new et al. We don't
// have it unless the language feature test macro is defined.
# define _LIBCPP_HAS_NO_LIBRARY_ALIGNED_ALLOCATION
#endif
OpenPOWER on IntegriCloud