Skip to content

Commit

Permalink
Fix redundant IREE_UK_STATIC_ASSERT macro definition (iree-org#15567)
Browse files Browse the repository at this point in the history
Something went wrong in
iree-org@4546b95
!
  • Loading branch information
bjacob authored Nov 13, 2023
1 parent 9067759 commit dc506b8
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions runtime/src/iree/builtins/ukernel/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -218,16 +218,6 @@
// to static_assert on C23.
#define IREE_UK_STATIC_ASSERT(COND) _Static_assert(COND, #COND)

//===----------------------------------------------------------------------===//
// IREE_UK_STATIC_ASSERT, a static assert macro usable in C and C++.
//===----------------------------------------------------------------------===//

#if defined(__cplusplus)
#define IREE_UK_STATIC_ASSERT(COND) static_assert(COND, #COND)
#else
#define IREE_UK_STATIC_ASSERT(COND) _Static_assert(COND, #COND)
#endif

//===----------------------------------------------------------------------===//
// Local replacements for stdint.h types and constants
// Refer to the comment at the top of this file for why we can't include
Expand Down

0 comments on commit dc506b8

Please sign in to comment.