Skip to content

Commit

Permalink
Clang-format glitch
Browse files Browse the repository at this point in the history
  • Loading branch information
dalg24 committed May 4, 2023
1 parent eff2716 commit 432988b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/unit_test/TestBitManipulation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ struct X {
static_assert(test_##FUNC((bool)0).did_not_match()); \
static_assert(test_##FUNC((int)0).did_not_match()); \
static_assert(test_##FUNC((float)0).did_not_match()); \
static_assert(test_##FUNC((void*)0).did_not_match())
static_assert(test_##FUNC((void *)0).did_not_match())

//<editor-fold desc="[bit.rotate]">
template <class UInt>
Expand Down Expand Up @@ -442,7 +442,7 @@ constexpr auto test_byteswap(T x) -> decltype(Kokkos::byteswap(x)) {

constexpr X test_byteswap(...) { return {}; }

static_assert(test_byteswap((void*)0).did_not_match()); // NOLINT
static_assert(test_byteswap((void *)0).did_not_match()); // NOLINT
static_assert(test_byteswap((float)0).did_not_match());
constexpr char c2[2] = {};
static_assert(test_byteswap(c2).did_not_match());
Expand Down

0 comments on commit 432988b

Please sign in to comment.