[libcxx-commits] [libcxx] 9824040 - [libc++] Don't open-close namespace std in __config (#72695)

via libcxx-commits libcxx-commits at lists.llvm.org
Mon Nov 20 10:32:53 PST 2023


Author: Louis Dionne
Date: 2023-11-20T13:32:49-05:00
New Revision: 9824040ad56103e350e6edbd59f05c606227c2c5

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

LOG: [libc++] Don't open-close namespace std in __config (#72695)

This doesn't seem necessary and it is just kind of weird to do that in
__config, so remove it.

Added: 
    

Modified: 
    libcxx/include/__config

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__config b/libcxx/include/__config
index e8da358bb8d7cd5..90e23dbdd8622b5 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -836,8 +836,6 @@ typedef __char32_t char32_t;
 #  define _LIBCPP_END_NAMESPACE_STD }}
 #  define _VSTD std
 
-_LIBCPP_BEGIN_NAMESPACE_STD _LIBCPP_END_NAMESPACE_STD
-
 #  if _LIBCPP_STD_VER >= 17
 #    define _LIBCPP_BEGIN_NAMESPACE_FILESYSTEM                                                                         \
        _LIBCPP_BEGIN_NAMESPACE_STD inline namespace __fs { namespace filesystem {


        


More information about the libcxx-commits mailing list