Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

format the code according to the Google style #89

Merged
merged 3 commits into from
Dec 29, 2023

Conversation

tomeichlersmith
Copy link
Member

@tomeichlersmith tomeichlersmith commented Dec 28, 2023

  • add a .clang-format to store our config
  • run clang-format with this config
  • copy over CI action to test for formatting

Ran the following in a shell that had access to clang-format.
(I did this in a denv but I suspect it to work the same if clang-format
is installed elsewhere.)

  find . -type f \( -name '*.h' -o -name '*.cxx' \) \
    -exec clang-format -i {} +
@tomeichlersmith tomeichlersmith linked an issue Dec 28, 2023 that may be closed by this pull request
@tomeichlersmith tomeichlersmith marked this pull request as ready for review December 29, 2023 18:13
@tomeichlersmith tomeichlersmith merged commit 75b7b04 into trunk Dec 29, 2023
1 check passed
@tomeichlersmith tomeichlersmith deleted the 86-format-the-code branch December 29, 2023 18:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

format the code
1 participant