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

Tesseract coding style: Using clang-format and clang-tidy #854

Open
stweil opened this issue Apr 30, 2017 · 4 comments
Open

Tesseract coding style: Using clang-format and clang-tidy #854

stweil opened this issue Apr 30, 2017 · 4 comments
Labels
Milestone

Comments

@stweil
Copy link
Member

stweil commented Apr 30, 2017

From time to time Ray cleans the code by using clang-tidy. It would be nice to document that process to allow other developers to check their code contributions and avoid style problems from the beginning.

The current tidy process does not cover some significant code style issues. Most noticeable: it does not change from ( xxx ) (about 480 lines of code) to (xxx) (which is the preferred Google style, more than 50000 lines of code).

@egorpugin
Copy link
Contributor

For code style clang-format could be applied.

@zdenop
Copy link
Contributor

zdenop commented Sep 27, 2018

@stweil : anything else should be done here?

@stweil
Copy link
Member Author

stweil commented Sep 29, 2018

Pull request #1935 fixes style issues for some more code. I think for 4.0.0 this is sufficient.

@zdenop zdenop added this to the 4.00 milestone Sep 29, 2018
@zdenop
Copy link
Contributor

zdenop commented Sep 29, 2018

thanks.

@zdenop zdenop closed this as completed Sep 29, 2018
@stweil stweil reopened this Mar 12, 2021
@amitdo amitdo added the RFC label Mar 23, 2021
@amitdo amitdo changed the title Tesseract coding style Tesseract coding style: Using clang-format and clang-tidy Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants