[libcxx-commits] [libcxx] 4b30563 - [libc++][C++03] Fix test/libcxx-03/system_reserved_names.gen.py (#155385)

via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 26 07:26:22 PDT 2025


Author: Nikolas Klauser
Date: 2025-08-26T16:26:18+02:00
New Revision: 4b305635fc80d008265d8f054887269534a85e4d

URL: https://github.com/llvm/llvm-project/commit/4b305635fc80d008265d8f054887269534a85e4d
DIFF: https://github.com/llvm/llvm-project/commit/4b305635fc80d008265d8f054887269534a85e4d.diff

LOG: [libc++][C++03] Fix test/libcxx-03/system_reserved_names.gen.py (#155385)

This test only fails because it includes `<__config>`. Switch to using
`<__cxx03/__config>` instead to fix the issue.

Added: 
    

Modified: 
    libcxx/test/libcxx-03/system_reserved_names.gen.py

Removed: 
    


################################################################################
diff  --git a/libcxx/test/libcxx-03/system_reserved_names.gen.py b/libcxx/test/libcxx-03/system_reserved_names.gen.py
index a4f2928eda332..43c008823a85e 100644
--- a/libcxx/test/libcxx-03/system_reserved_names.gen.py
+++ b/libcxx/test/libcxx-03/system_reserved_names.gen.py
@@ -29,10 +29,8 @@
 {lit_header_restrictions.get(header, '')}
 {lit_header_undeprecations.get(header, '')}
 
-// UNSUPPORTED: FROZEN-CXX03-HEADERS-FIXME
-
 // This is required to detect the platform we're building for below.
-#include <__config>
+#include <__cxx03/__config>
 
 #define SYSTEM_RESERVED_NAME This name should not be used in libc++
 


        


More information about the libcxx-commits mailing list