[libcxx-commits] [libcxx] 8908296 - [libc++][NFC] Move 32-bit pointer Lit feature check where it belongs
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Dec 8 06:44:06 PST 2023
Author: Louis Dionne
Date: 2023-12-08T09:43:42-05:00
New Revision: 8908296b62ee8ec1fc4db87b67dcefc2873111bd
URL: https://github.com/llvm/llvm-project/commit/8908296b62ee8ec1fc4db87b67dcefc2873111bd
DIFF: https://github.com/llvm/llvm-project/commit/8908296b62ee8ec1fc4db87b67dcefc2873111bd.diff
LOG: [libc++][NFC] Move 32-bit pointer Lit feature check where it belongs
It was previously defined in the block where we defined back-deployment
features.
Added:
Modified:
libcxx/utils/libcxx/test/features.py
Removed:
################################################################################
diff --git a/libcxx/utils/libcxx/test/features.py b/libcxx/utils/libcxx/test/features.py
index ccabb48833f10d..5e854917e6ef45 100644
--- a/libcxx/utils/libcxx/test/features.py
+++ b/libcxx/utils/libcxx/test/features.py
@@ -198,6 +198,18 @@ def _getAndroidDeviceApi(cfg):
""",
),
),
+ # Tests that require 64-bit architecture
+ Feature(
+ name="32-bit-pointer",
+ when=lambda cfg: sourceBuilds(
+ cfg,
+ """
+ int main(int, char**) {
+ static_assert(sizeof(void *) == 4);
+ }
+ """,
+ ),
+ ),
# TODO: Remove this feature once compiler-rt includes __atomic_is_lockfree()
# on all supported platforms.
Feature(
@@ -567,16 +579,4 @@ def check_gdb(cfg):
cfg.available_features,
),
),
- # Tests that require 64-bit architecture
- Feature(
- name="32-bit-pointer",
- when=lambda cfg: sourceBuilds(
- cfg,
- """
- int main(int, char**) {
- static_assert(sizeof(void *) == 4);
- }
- """,
- ),
- ),
]
More information about the libcxx-commits
mailing list