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-format, clang-tidy and clangd support for C++ development #2541

Merged
merged 3 commits into from
Feb 24, 2024

Conversation

texodus
Copy link
Member

@texodus texodus commented Feb 24, 2024

Rebased and refactored version of #2467.

  • Adds clang-format and clang-tidy as lint and fix phase passes for C++, in CI lint phase as well. This requires clang > 16, which is now an external dev requirement for C++ development in Perspective. I tried, desperately, to make this more portable, but it is completely futile. TO enable this, we now run JS builds in Ubuntu 22 with Clang 16, which is the only place we also run the C++ lint phase.
  • Adds clangd support to VSCode, which makes development a breeze!
  • Applies updates format rules to all C++ project source.

From #2467:

image

@texodus texodus added the internal Internal refactoring and code quality improvement label Feb 24, 2024
@texodus texodus merged commit c4b5c01 into master Feb 24, 2024
28 of 33 checks passed
@texodus texodus deleted the improve-cpp-experience branch February 24, 2024 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Internal refactoring and code quality improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants