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

Add clang-tidy, fix some bugpron problems. #7708

Merged
merged 6 commits into from
Dec 15, 2022

Conversation

enum-class
Copy link
Contributor

I have tried to add clang-tidy to the project. And do some refactor on idl_parser.cpp to resolve bugpron and readability issues

@enum-class enum-class marked this pull request as draft December 11, 2022 06:43
@github-actions github-actions bot added c++ codegen Involving generating code from schema swift labels Dec 11, 2022
@enum-class enum-class marked this pull request as ready for review December 12, 2022 01:45
.clang-tidy Outdated Show resolved Hide resolved
scripts/clang-tidy-git.sh Outdated Show resolved Hide resolved
src/idl_parser.cpp Outdated Show resolved Hide resolved
src/idl_parser.cpp Outdated Show resolved Hide resolved
@github-actions github-actions bot removed c++ swift codegen Involving generating code from schema labels Dec 14, 2022
@enum-class
Copy link
Contributor Author

enum-class commented Dec 15, 2022

@dbaileychess Hi, I have minimized this p.r. to just add clang-tidy, I will apply code changes in another p.r.

Also, add bugprone checks one by one and apply them on codes in future p.r.

@dbaileychess dbaileychess enabled auto-merge (squash) December 15, 2022 05:58
@dbaileychess dbaileychess merged commit 9ed7655 into google:master Dec 15, 2022
sunwen18 pushed a commit to sunwen18/flatbuffers that referenced this pull request Dec 25, 2022
* Add clang-tidy, fix some bugpron problems.

* Fix more issues

* Fix some more issues :))

* Minimal pr to just add clang-tidy

Co-authored-by: Derek Bailey <derekbailey@google.com>
@enum-class enum-class deleted the refactor branch January 8, 2023 01:38
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