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

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


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: Nikolas Klauser (philnik777)

<details>
<summary>Changes</summary>

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


---
Full diff: https://github.com/llvm/llvm-project/pull/155385.diff


1 Files Affected:

- (modified) libcxx/test/libcxx-03/system_reserved_names.gen.py (+1-3) 


``````````diff
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++
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/155385


More information about the libcxx-commits mailing list