Skip to content

Changing .clang-format AlignConsecutiveAssignments to false and applying to smart_holder code. #3065

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

Merged
merged 2 commits into from
Jul 2, 2021

Conversation

rwgk
Copy link
Collaborator

@rwgk rwgk commented Jun 29, 2021

Applying new .clang-format config merged with PR #3067.

All changes are automatic (clang-format). NO manual changes.

@rwgk
Copy link
Collaborator Author

rwgk commented Jun 29, 2021

@Skylion007 did you have a suggestion for another .clang-format config change? Something to do with pointers?

@Skylion007
Copy link
Collaborator

Yeah, there was suggestions about where to align "pointer *" and "reference &" to be part of the type instead of part of the var.

@EricCousineau-TRI
Copy link
Collaborator

I love this PR as it stands! We cool with reviewing / merging this as-is? @henryiii?
Perhaps pointer alignment can be a follow-up PR?

@EricCousineau-TRI
Copy link
Collaborator

EricCousineau-TRI commented Jun 30, 2021

Aha! I see #3067

@rwgk rwgk force-pushed the sh_clang_format_config_adj branch from ed8ea12 to 0437e91 Compare July 2, 2021 21:36
@rwgk
Copy link
Collaborator Author

rwgk commented Jul 2, 2021

Ignoring the one CI flake (eigen download failed).

@rwgk rwgk marked this pull request as ready for review July 2, 2021 22:21
@rwgk rwgk merged commit 05417a4 into pybind:smart_holder Jul 2, 2021
@rwgk rwgk deleted the sh_clang_format_config_adj branch July 2, 2021 22:21
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label Jul 2, 2021
@rwgk
Copy link
Collaborator Author

rwgk commented Jul 2, 2021

Ouch, silly mistake: I forgot the -a in git commit :-(
I'll try again.

@rwgk rwgk removed the needs changelog Possibly needs a changelog entry label Jul 2, 2021
rwgk added a commit to rwgk/pybind11 that referenced this pull request Jul 2, 2021
rwgk added a commit to rwgk/pybind11 that referenced this pull request Jul 2, 2021
rwgk added a commit that referenced this pull request Jul 2, 2021
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.

3 participants