[libcxx-commits] [libcxx] [libc++] Allow the use of extensions in the implementation (PR #79532)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Feb 1 07:23:18 PST 2024
================
@@ -881,14 +898,25 @@ typedef __char32_t char32_t;
// Inline namespaces are available in Clang/GCC/MSVC regardless of C++ dialect.
// clang-format off
-# define _LIBCPP_BEGIN_NAMESPACE_STD namespace _LIBCPP_TYPE_VISIBILITY_DEFAULT std { \
+# define _LIBCPP_BEGIN_NAMESPACE_STD _LIBCPP_DIAGNOSTIC_PUSH \
----------------
ldionne wrote:
As discussed, this is optional.
https://github.com/llvm/llvm-project/pull/79532
More information about the libcxx-commits
mailing list