Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NFC] clang-format nativecpu_utils.cpp. #17570

Merged
merged 3 commits into from
Mar 24, 2025

Conversation

hvdijk
Copy link
Contributor

@hvdijk hvdijk commented Mar 21, 2025

We had turned off clang-formatting for nativecpu_utils.cpp because the macro definitions we used confused the formatter to the point of making the result unreadable, but by changing the macros so that they are followed by a semicolon, and by avoiding NCPUPREFIX and spelling out the concatenation directly, we can get it into a state where it does work for clang-format.

We had turned off clang-formatting for nativecpu_utils.cpp because the
macro definitions we used confused the formatter to the point of making
the result unreadable, but by changing the macros so that they are
followed by a semicolon, and by avoiding NCPUPREFIX and spelling out the
concatenation directly, we can get it into a state where it does work
for clang-format.
@hvdijk hvdijk requested a review from a team as a code owner March 21, 2025 13:23
@hvdijk hvdijk temporarily deployed to WindowsCILock March 21, 2025 13:23 — with GitHub Actions Inactive
@hvdijk hvdijk temporarily deployed to WindowsCILock March 21, 2025 13:35 — with GitHub Actions Inactive
@hvdijk hvdijk temporarily deployed to WindowsCILock March 21, 2025 13:35 — with GitHub Actions Inactive
@hvdijk
Copy link
Contributor Author

hvdijk commented Mar 24, 2025

@intel/llvm-gatekeepers This is ready to be merged, thanks.

@aelovikov-intel aelovikov-intel merged commit 7d40de9 into intel:sycl Mar 24, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants