Skip to content

Commit 46da71a

Browse files
authored
Resolve warnings by changing comment format from // to /* */ (#18131)
Resolve warnings by changing comment format from // to /* */
1 parent 923eca9 commit 46da71a

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

sycl/include/sycl/detail/builtins/builtins.hpp

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -305,12 +305,14 @@ struct builtin_enable
305305
} // namespace _V1
306306
} // namespace sycl
307307

308-
// The headers below are specifically implemented without including all the
309-
// necessary headers to allow preprocessing them on their own and providing
310-
// human-friendly result. One can use a command like this to achieve that:
311-
// clang++ -[DU]__SYCL_DEVICE_ONLY__ -x c++ math_functions.inc
312-
// -I <..>/llvm/sycl/include -E -o -
313-
// | grep -v '^#' | clang-format > math_functions.{host|device}.ii
308+
/*
309+
The headers below are specifically implemented without including all the
310+
necessary headers to allow preprocessing them on their own and providing
311+
human-friendly result. One can use a command like this to achieve that:
312+
clang++ -[DU]__SYCL_DEVICE_ONLY__ -x c++ math_functions.inc \
313+
-I <..>/llvm/sycl/include -E -o - \
314+
| grep -v '^#' | clang-format > math_functions.{host|device}.ii
315+
*/
314316

315317
#include <sycl/detail/builtins/common_functions.inc>
316318
#include <sycl/detail/builtins/geometric_functions.inc>

0 commit comments

Comments
 (0)