Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Nov 20, 2024

I did this by hand rather than using clang-format. Its just the indentation and the curly braces on the same line.

Best viewed with "ignore whitespace".

@sbc100 sbc100 requested a review from brendandahl November 20, 2024 17:37
@sbc100 sbc100 enabled auto-merge (squash) November 20, 2024 17:38
Copy link
Collaborator

@brendandahl brendandahl left a comment

Choose a reason for hiding this comment

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

Aside: it'd be nice if we clang-formatted all our C/C++ code and required it going forward.

@sbc100 sbc100 merged commit f967a5e into emscripten-core:main Nov 20, 2024
28 checks passed
@sbc100 sbc100 deleted the wasm_worker_format branch November 20, 2024 18:51
@sbc100
Copy link
Collaborator Author

sbc100 commented Nov 20, 2024

Aside: it'd be nice if we clang-formatted all our C/C++ code and required it going forward.

Agreed. Although its a little tricky because some of our code is either implicitly or explicitly part of musl which has its own style. Or some other upstream project.

So we need to way to declare specifically which stuff is out own internal code.

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