[RFC] Add canonical and standard clang-format rules.
See original GitHub issueI have noticed inconsistencies between TVM’s style as written today the Google C++ style as formatted by tools such as clang-format
.
This proposal is simply a request for us to create a standard clang-format
configuration file and apply it uniformly to all code and PRs. We could even set up git-hooks to do this automatically for TVM developers.
Thoughts?
cc @zhiics
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:7 (7 by maintainers)
Top Results From Across the Web
[RFC] Add canonical and standard clang-format rules. #1732
This proposal is simply a request for us to create a standard clang-format configuration file and apply it uniformly to all code and...
Read more >Automatic code formatting - public-inbox listing
* Re: [RFC PATCH 2/4] .clang-format: Add a BitFieldColonSpacing=None rule 2022-07-11 11:37 ` [RFC PATCH 2/4] .clang-format: Add a ...
Read more >RFC 69: C/C++ Code Formatting — GDAL documentation
The proposal suggests to use clang-format version 3.8 or higher to define C++ code formatting rules for GDAL code. The clang-format is a...
Read more >7/Flux Coding Style Guide — Flux 0.13.0 documentation
This specification presents the recommended standards when contributing code to the Flux code base. Name: github.com/flux-framework/rfc/spec_7.rst.
Read more >Creating and Enforcing a Code Formatting Standard with ...
Ideally, your team will have a formatting process that runs on your continuous integration server. This version should be considered canonical ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Facebook’s glow (https://github.com/pytorch/glow) has a clang-format, as well as clang-tidy, maybe we could learn something from them.
close by #2395