Skip to content

Commit fe42d34

Browse files
authored
[clang][headers]Remove unnecessary guard of !defined(__SCE__). (#144522)
Sony PlayStation now supports C++20, and we wish to change the default C++ mode to C++20 sometime in the future. As such, the !defined(__SCE__) guards are redundant and we want to remove them. This in turn makes the entire guard lines redundant (always true), so this patch removes them entirely.
1 parent 8e157fd commit fe42d34

File tree

5 files changed

+0
-269
lines changed

5 files changed

+0
-269
lines changed

clang/lib/Headers/bmiintrin.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,6 @@ _mm_tzcnt_64(unsigned long long __X) {
161161

162162
#undef __RELAXED_FN_ATTRS
163163

164-
#if !defined(__SCE__) || __has_feature(modules) || defined(__BMI__)
165-
166164
/* Define the default attributes for the functions in this file. */
167165
#if defined(__cplusplus) && (__cplusplus >= 201103L)
168166
#define __DEFAULT_FN_ATTRS \
@@ -603,6 +601,4 @@ __blsr_u64(unsigned long long __X) {
603601

604602
#undef __DEFAULT_FN_ATTRS
605603

606-
#endif /* !defined(__SCE__) || __has_feature(modules) || defined(__BMI__) */
607-
608604
#endif /* __BMIINTRIN_H */

0 commit comments

Comments
 (0)