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

Enable clang for device/ folder #264

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Enable clang for device/ folder #264

wants to merge 1 commit into from

Conversation

broskoTT
Copy link
Contributor

@broskoTT broskoTT commented Nov 5, 2024

Related to #47 , a follow up from #203

Removed device/.clang-format which disabled formatting in this folder, and ran pre-commit run --all-files

If there is something you see that is formatted not in the way you like, please leave a comment, we can add // clang-format off to some block to leave custom formatting.

@broskoTT broskoTT changed the title Enable clang in device folder Enable clang for device/ folder Nov 5, 2024
Copy link
Contributor

@joelsmithTT joelsmithTT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think ioctl.h should be excluded, not sure how easy that is to do.

Also suggest adding DerivePointerAlignment: false, PointerAlignment: Left, ReferenceAlignment: Left (see https://tenstorrent.slack.com/archives/C07L16Z59AP/p1731099457956649?thread_ts=1731092455.581859&cid=C07L16Z59AP for discussion).

But that can always be done later

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.

2 participants