Skip to content

Commit 613c71d

Browse files
author
Chen, Brox
committed
clang format
1 parent 40f8f9f commit 613c71d

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
@@ -317,12 +317,12 @@ __SYCL_TYPE(annotated_arg) annotated_arg<T, detail::properties_t<Props...>> {
317317
#define PROPAGATE_OP(op) \
318318
template <class O> \
319319
friend auto operator op(O &&a, const annotated_arg &b) \
320-
->decltype(std::forward<O>(a) op std::declval<T>()) { \
320+
-> decltype(std::forward<O>(a) op std::declval<T>()) { \
321321
return std::forward<O>(a) op b.operator T(); \
322322
} \
323323
template <class O, typename = std::enable_if_t<!detail::is_ann_arg_v<O>>> \
324324
friend auto operator op(const annotated_arg &a, O &&b) \
325-
->decltype(std::declval<T>() op std::forward<O>(b)) { \
325+
-> decltype(std::declval<T>() op std::forward<O>(b)) { \
326326
return a.operator T() op std::forward<O>(b); \
327327
}
328328
PROPAGATE_OP(+)
@@ -349,7 +349,7 @@ __SYCL_TYPE(annotated_arg) annotated_arg<T, detail::properties_t<Props...>> {
349349
// by setting a default template we get SFINAE to kick in
350350
#define PROPAGATE_OP(op) \
351351
template <typename O = T> \
352-
auto operator op() const->decltype(op std::declval<O>()) { \
352+
auto operator op() const -> decltype(op std::declval<O>()) { \
353353
return op this->operator O(); \
354354
}
355355
PROPAGATE_OP(+)

0 commit comments

Comments
 (0)