-
With `EMPTY_MACRO=;` in `Macros`, clang-format 18.1.4 adds spaces around `->`.
``` console
$ clang-format --version
clang-format version 18.1.4
$ clang-format --dump-config
...
Macros:
- EM…
-
This is just a suggestion.
We are currently using https://github.com/DoozyX/clang-format-lint-action because it allows specifying the clang version, and we're a bit stuck on clang-6 as it was the m…
-
Would you consider allowing for OPTIONS/ENV that allows for a custom target for old libraries that happen to use the same build target?
I tried various CMake settings to avoid this but nothing seem…
-
Maybe we should add a `.clang-format` file to format all the code?
Github actions can also be set up to format code on PR automatically.
-
Been experimenting with clang-format in other projects, I propose we use it to enforce codestyle without thinking about it.
http://clang.llvm.org/docs/ClangFormat.html
Example .clang-format file:
`…
-
[`clang-format`](https://clang.llvm.org/docs/ClangFormat.html) is a common method to define formatting standard for C++ sources. It is supported by [Visual Studio](https://marketplace.visualstudio.com…
-
Require clang-format to run for merging a PR.
-
A standardized coding style would make the life easier to contributors.
[An online configuration tool ](https://clang-format-configurator.site/)could be used to define such coding style file.
-
# Summary
Enforcing a common C++ code style across the entire `tt-metal` repository will [improve code readability](https://abseil.io/resources/swe-book/html/ch08.html) which should improve develop…
-
Hit this when just testing some clang-format behavior (using current main branch), so probably not much of a 'real' use case, but still probably shouldn't crash / trigger an access violation.
When …