question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[RFC] Add canonical and standard clang-format rules.

See original GitHub issue

I 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:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
junrushaocommented, Sep 25, 2018

Facebook’s glow (https://github.com/pytorch/glow) has a clang-format, as well as clang-tidy, maybe we could learn something from them.

0reactions
tqchencommented, Jan 9, 2019

close by #2395

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found