Skip to content

Commit 67405dc

Browse files
committed
clang-format
1 parent 9e40ae0 commit 67405dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sycl/include/sycl/ext/oneapi/experimental/annotated_arg/annotated_arg.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -328,12 +328,12 @@ __SYCL_TYPE(annotated_arg) annotated_arg<T, detail::properties_t<Props...>> {
328328
#define PROPAGATE_OP(op) \
329329
template <class O> \
330330
friend auto operator op(O &&a, const annotated_arg &b) \
331-
-> decltype(std::forward<O>(a) op std::declval<T>()) { \
331+
->decltype(std::forward<O>(a) op std::declval<T>()) { \
332332
return std::forward<O>(a) op b.operator T(); \
333333
} \
334334
template <class O, typename = std::enable_if_t<!detail::is_ann_arg_v<O>>> \
335335
friend auto operator op(const annotated_arg &a, O &&b) \
336-
-> decltype(std::declval<T>() op std::forward<O>(b)) { \
336+
->decltype(std::declval<T>() op std::forward<O>(b)) { \
337337
return a.operator T() op std::forward<O>(b); \
338338
}
339339
PROPAGATE_OP(+)
@@ -360,7 +360,7 @@ __SYCL_TYPE(annotated_arg) annotated_arg<T, detail::properties_t<Props...>> {
360360
// by setting a default template we get SFINAE to kick in
361361
#define PROPAGATE_OP(op) \
362362
template <typename O = T> \
363-
auto operator op() const -> decltype(op std::declval<O>()) { \
363+
auto operator op() const->decltype(op std::declval<O>()) { \
364364
return op this->operator O(); \
365365
}
366366
PROPAGATE_OP(+)

0 commit comments

Comments
 (0)