Skip to content

Commit a5cd735

Browse files
committed
apply CI-requested formatting for clang-format and cmake-format
1 parent 45d182a commit a5cd735

7 files changed

Lines changed: 18 additions & 13 deletions

File tree

libs/core/threading_base/include/hpx/threading_base/thread_data.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -672,9 +672,8 @@ namespace hpx::threads {
672672
}
673673

674674
#if defined(HPX_HAVE_MODULE_TRACY)
675-
HPX_CXX_CORE_EXPORT HPX_CORE_EXPORT
676-
tracing::region_init_data get_region_init_data(
677-
thread_data const* thrdptr);
675+
HPX_CXX_CORE_EXPORT HPX_CORE_EXPORT tracing::region_init_data
676+
get_region_init_data(thread_data const* thrdptr);
678677

679678
HPX_CXX_CORE_EXPORT HPX_CORE_EXPORT tracing::fiber_region_init_data
680679
get_fiber_region_init_data(thread_data const* thrdptr);

libs/core/threading_base/include/hpx/threading_base/thread_helpers.hpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,9 @@ namespace hpx::threads {
191191
hpx::error_code& ec = hpx::throws);
192192
#else
193193
#if !defined(DOXYGEN)
194-
HPX_CXX_CORE_EXPORT HPX_CORE_EXPORT
195-
util::backtrace const* get_thread_backtrace(
196-
thread_id_type const& id, hpx::error_code& ec = hpx::throws);
194+
HPX_CXX_CORE_EXPORT HPX_CORE_EXPORT util::backtrace const*
195+
get_thread_backtrace(
196+
thread_id_type const& id, hpx::error_code& ec = hpx::throws);
197197
HPX_CXX_CORE_EXPORT HPX_CORE_EXPORT util::backtrace const*
198198
set_thread_backtrace(thread_id_type const& id,
199199
util::backtrace const* bt = nullptr, hpx::error_code& ec = hpx::throws);
@@ -680,3 +680,4 @@ namespace hpx::this_thread {
680680
} // namespace hpx::this_thread
681681

682682
#include <hpx/config/warnings_suffix.hpp>
683+
pp>

libs/core/topology/include/hpx/topology/scheduling_properties.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
namespace hpx::execution::experimental {
1717

1818
///////////////////////////////////////////////////////////////////////////
19-
HPX_CXX_CORE_EXPORT inline constexpr struct
20-
get_processing_units_mask_t final
19+
HPX_CXX_CORE_EXPORT inline constexpr struct get_processing_units_mask_t
20+
final
2121
: hpx::functional::detail::tag_fallback<get_processing_units_mask_t>
2222
{
2323
private:

libs/core/type_support/include/hpx/type_support/base_from_member.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ namespace hpx::util {
6767
template <typename... T>
6868
requires(detail::is_unrelated<base_from_member, T...>::value)
6969
explicit constexpr base_from_member(T&&... x) noexcept(
70-
noexcept(::new (nullptr) MemberType(static_cast<T&&>(x)...)))
70+
noexcept(::new(nullptr) MemberType(static_cast<T&&>(x)...)))
7171
: member(static_cast<T&&>(x)...)
7272
{
7373
}

libs/core/type_support/include/hpx/type_support/meta.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,8 +484,9 @@ namespace hpx::meta {
484484
};
485485

486486
HPX_CXX_CORE_EXPORT template <typename... As>
487-
using single_t =
488-
std::enable_if_t<sizeof...(As) == 1, meta::type<front<As...>>>;
487+
using single_t = std::enable_if_t < sizeof...(As) == 1,
488+
meta::type < front < As... >>>
489+
;
489490

490491
HPX_CXX_CORE_EXPORT template <typename Ty>
491492
struct single_or

libs/full/init_runtime/include/hpx/hpx_init.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@ namespace hpx {
192192
#if !defined(HPX_HAVE_STATIC_LINKING)
193193
inline
194194
#endif
195-
int init(init_params const& params = init_params());
195+
int
196+
init(init_params const& params = init_params());
196197
} // namespace hpx
197198

198199
#if !defined(DOXYGEN)

tests/unit/build/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,10 @@ foreach(build_type ${build_types})
194194
endforeach()
195195
add_hpx_pseudo_dependencies(tests.unit.build tests.unit.build.cmake)
196196

197-
if(HPX_WITH_PKGCONFIG AND HPX_WITH_DISTRIBUTED_RUNTIME AND NOT HPX_WITH_CXX_MODULES)
197+
if(HPX_WITH_PKGCONFIG
198+
AND HPX_WITH_DISTRIBUTED_RUNTIME
199+
AND NOT HPX_WITH_CXX_MODULES
200+
)
198201
find_package(PkgConfig)
199202
if(PKGCONFIG_FOUND)
200203
create_pkgconfig_test(

0 commit comments

Comments
 (0)