[libcxx-commits] [libcxx] 22347af - [libc++][NFC] Remove some dead code

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Wed Aug 30 21:07:21 PDT 2023


Author: Nikolas Klauser
Date: 2023-08-30T21:07:14-07:00
New Revision: 22347afb724cf7b152dce82aa37ffe5a51afc532

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

LOG: [libc++][NFC] Remove some dead code

We only support Clang on windows, so this code path is never taken.

Reviewed By: #libc, Mordante

Spies: Mordante, libcxx-commits

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

Added: 
    

Modified: 
    libcxx/include/__config

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__config b/libcxx/include/__config
index b503e1d01b10ed..1da412b7dea92a 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -12,12 +12,6 @@
 
 #include <__config_site>
 
-#if defined(_MSC_VER) && !defined(__clang__)
-#  if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
-#    define _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
-#  endif
-#endif
-
 #ifndef _LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER
 #  pragma GCC system_header
 #endif


        


More information about the libcxx-commits mailing list