Skip to content

EXPERIMENTAL: clang-format on top of pending PR #3702 - #3703

Closed
rwgk wants to merge 6 commits into
pybind:masterfrom
rwgk:clang-format_N+1
Closed

EXPERIMENTAL: clang-format on top of pending PR #3702#3703
rwgk wants to merge 6 commits into
pybind:masterfrom
rwgk:clang-format_N+1

Conversation

@rwgk

@rwgkrwgk commented Feb 9, 2022

Copy link
Copy Markdown
Collaborator

Helper/scratch PR for testing.

Some comments are probably in bad shape, especially rst-endrst.

The purpose of this PR is to see if the reformatted C++ code works on all platforms.

Game plan from here:

After the mutually independent PRs

are merged:

  • Prepare source code comments for clang-formating (this will be a bit of time-consuming leg work).
  • Main clang-format PR (pre-commit action & automatic large-scale changes).
  • Add IncludeCategories to .clang-format (9057962).
  • Done! (Unless I'm forgetting something.)

@rwgk

rwgk commented Feb 9, 2022

Copy link
Copy Markdown
CollaboratorAuthor

Closing this PR, it served its purpose, testing with PRs #3702, #3704, #3705 combined, and laying out the game plan in the PR description. This documents a small milestone on the way to full clang-formating.

@rwgkrwgk closed this Feb 9, 2022
@rwgk
rwgk deleted the clang-format_N+1 branch February 9, 2022 14:38
@rwgkrwgk mentioned this pull request Feb 9, 2022
@rwgkrwgk mentioned this pull request Feb 10, 2023
Sign up for freeto 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

@rwgk@henryiii