Skip to content

Commit 2e3321b

Browse files
committed
clang-format
1 parent 57e287f commit 2e3321b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

sycl/tools/pi-trace/pi_trace.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ XPTI_CALLBACK_API void xptiTraceInit(unsigned int major_version,
5151
tpCallback);
5252

5353
#define _PI_API(api) \
54-
ArgHandler.set##_##api([](auto &&...Args) { \
54+
ArgHandler.set##_##api([](auto &&... Args) { \
5555
std::cout << "---> " << #api << "(" \
5656
<< "\n"; \
5757
sycl::detail::pi::printArgs(Args...); \

sycl/tools/xpti_helpers/pi_arguments_handler.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,8 @@ class PiArgumentsHandler {
7171

7272
#define _PI_API(api) \
7373
void set##_##api( \
74-
const typename to_function< \
75-
typename detail::function_traits<decltype(api)>::args_type>::type \
76-
&Handler) { \
74+
const typename to_function<typename detail::function_traits<decltype( \
75+
api)>::args_type>::type &Handler) { \
7776
MHandler##_##api = [Handler](void *Data) { \
7877
using TupleT = \
7978
typename detail::function_traits<decltype(api)>::args_type; \

0 commit comments

Comments
 (0)