Skip to content

Commit 511439b

Browse files
committed
[clang][x86] Make sure we undef __DEFAULT_FN_ATTRS_CONSTEXPR attributes tags at the end of the bmi headers
1 parent 39e254e commit 511439b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

clang/lib/Headers/bmi2intrin.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,5 +257,6 @@ _mulx_u64 (unsigned long long __X, unsigned long long __Y,
257257
#endif /* __x86_64__ */
258258

259259
#undef __DEFAULT_FN_ATTRS
260+
#undef __DEFAULT_FN_ATTRS_CONSTEXPR
260261

261262
#endif /* __BMI2INTRIN_H */

clang/lib/Headers/bmiintrin.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,7 @@ __blsr_u64(unsigned long long __X)
615615
#endif /* __x86_64__ */
616616

617617
#undef __DEFAULT_FN_ATTRS
618+
#undef __DEFAULT_FN_ATTRS_CONSTEXPR
618619

619620
#endif /* !defined(__SCE__) || __has_feature(modules) || defined(__BMI__) */
620621

0 commit comments

Comments
 (0)