[clang] 724b432 - [z/OS] Make sure __alignas_is_defined and __alignof_is_defined are defined on z/OS. (#115368)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 8 04:55:31 PST 2024
Author: Zibi Sarbinowski
Date: 2024-11-08T07:55:23-05:00
New Revision: 724b432410fd59c63cc313d41824eda5ec84052f
URL: https://github.com/llvm/llvm-project/commit/724b432410fd59c63cc313d41824eda5ec84052f
DIFF: https://github.com/llvm/llvm-project/commit/724b432410fd59c63cc313d41824eda5ec84052f.diff
LOG: [z/OS] Make sure __alignas_is_defined and __alignof_is_defined are defined on z/OS. (#115368)
Added:
Modified:
clang/lib/Headers/stdalign.h
Removed:
################################################################################
diff --git a/clang/lib/Headers/stdalign.h b/clang/lib/Headers/stdalign.h
index 56cdfa52d4bafa..158508e65d2b34 100644
--- a/clang/lib/Headers/stdalign.h
+++ b/clang/lib/Headers/stdalign.h
@@ -10,10 +10,6 @@
#ifndef __STDALIGN_H
#define __STDALIGN_H
-#if defined(__MVS__) && __has_include_next(<stdalign.h>)
-#include_next <stdalign.h>
-#else
-
#if defined(__cplusplus) || \
(defined(__STDC_VERSION__) && __STDC_VERSION__ < 202311L)
#ifndef __cplusplus
@@ -25,5 +21,4 @@
#define __alignof_is_defined 1
#endif /* __STDC_VERSION__ */
-#endif /* __MVS__ */
#endif /* __STDALIGN_H */
More information about the cfe-commits
mailing list