[clang][x86] Make sure we undef __DEFAULT_FN_ATTRS_CONSTEXPR attributes tags at the end of the bmi headers

This commit is contained in:
Simon Pilgrim 2024-09-30 17:55:48 +01:00
parent 39e254ec91
commit 511439b282
2 changed files with 2 additions and 0 deletions

View File

@ -257,5 +257,6 @@ _mulx_u64 (unsigned long long __X, unsigned long long __Y,
#endif /* __x86_64__ */ #endif /* __x86_64__ */
#undef __DEFAULT_FN_ATTRS #undef __DEFAULT_FN_ATTRS
#undef __DEFAULT_FN_ATTRS_CONSTEXPR
#endif /* __BMI2INTRIN_H */ #endif /* __BMI2INTRIN_H */

View File

@ -615,6 +615,7 @@ __blsr_u64(unsigned long long __X)
#endif /* __x86_64__ */ #endif /* __x86_64__ */
#undef __DEFAULT_FN_ATTRS #undef __DEFAULT_FN_ATTRS
#undef __DEFAULT_FN_ATTRS_CONSTEXPR
#endif /* !defined(__SCE__) || __has_feature(modules) || defined(__BMI__) */ #endif /* !defined(__SCE__) || __has_feature(modules) || defined(__BMI__) */