You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem with previous definition of macro is that clang-format
insert additional indentation:
Original code:
```c++
__SYCL_INLINE namespace cl {
// some code
```
When applied clang-format:
```c++
__SYCL_INLINE namespace cl {
// some code
```
Replaced `__SYCL_INLINE` with `__SYCL_INLINE_NAMESPACE(X)` which defines
either inline or regular namespace and marked it as `NamespaceMacro` in
clang-format config file to avoid dealing with broken formatting while
adding new code
Signed-off-by: Alexey Sachkov <alexey.sachkov@intel.com>
0 commit comments