github-actions[bot] wrote: <!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning: <details> <summary> You can test this locally with the following command: </summary> ``````````bash git-clang-format --diff 8815328b6bf0f8c5088f6df73ad853a5aba159d9 dd0a2928258eb083799dab03dff3a2f0b8a5f664 --extensions c,h,cpp -- clang/lib/AST/ExprConstant.cpp clang/lib/Headers/bmi2intrin.h clang/test/CodeGen/X86/bmi2-builtins.c `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/Headers/bmi2intrin.h b/clang/lib/Headers/bmi2intrin.h index 7b2c2f145b..df2447f3c8 100644 --- a/clang/lib/Headers/bmi2intrin.h +++ b/clang/lib/Headers/bmi2intrin.h @@ -74,8 +74,7 @@ _bzhi_u32(unsigned int __X, unsigned int __Y) /// The 32-bit mask specifying where to deposit source bits. /// \returns The 32-bit result. static __inline__ unsigned int __DEFAULT_FN_ATTRS_CONSTEXPR -_pdep_u32(unsigned int __X, unsigned int __Y) -{ +_pdep_u32(unsigned int __X, unsigned int __Y) { return __builtin_ia32_pdep_si(__X, __Y); } @@ -104,8 +103,7 @@ _pdep_u32(unsigned int __X, unsigned int __Y) /// The 32-bit mask specifying which source bits to extract. /// \returns The 32-bit result. static __inline__ unsigned int __DEFAULT_FN_ATTRS_CONSTEXPR -_pext_u32(unsigned int __X, unsigned int __Y) -{ +_pext_u32(unsigned int __X, unsigned int __Y) { return __builtin_ia32_pext_si(__X, __Y); } @@ -190,8 +188,7 @@ _bzhi_u64(unsigned long long __X, unsigned long long __Y) /// The 64-bit mask specifying where to deposit source bits. /// \returns The 64-bit result. static __inline__ unsigned long long __DEFAULT_FN_ATTRS_CONSTEXPR -_pdep_u64(unsigned long long __X, unsigned long long __Y) -{ +_pdep_u64(unsigned long long __X, unsigned long long __Y) { return __builtin_ia32_pdep_di(__X, __Y); } @@ -220,8 +217,7 @@ _pdep_u64(unsigned long long __X, unsigned long long __Y) /// The 64-bit mask specifying which source bits to extract. /// \returns The 64-bit result. static __inline__ unsigned long long __DEFAULT_FN_ATTRS_CONSTEXPR -_pext_u64(unsigned long long __X, unsigned long long __Y) -{ +_pext_u64(unsigned long long __X, unsigned long long __Y) { return __builtin_ia32_pext_di(__X, __Y); } `````````` </details> https://github.com/llvm/llvm-project/pull/110535 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits