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

Update clang-format #2417

Open
lmoureaux opened this issue Oct 25, 2024 · 0 comments
Open

Update clang-format #2417

lmoureaux opened this issue Oct 25, 2024 · 0 comments
Labels
enhancement New feature or request tools Issues related to mp, ruledit, etc along with CI and build tools.

Comments

@lmoureaux
Copy link
Contributor

Is your feature request related to a problem? Please describe.
clang-format-11 is no longer shipped by Ubuntu 24.04.

Describe the solution you'd like
Upgrade to 18.

Describe alternatives you've considered

  • Upgrade to an intermediate version
  • Upgrade to the latest version (19)

Additional context
The diff of 18 with respect to 11 isn't very large:

 ai/default/daimilitary.h         |  2 +-
 client/views/view_map_common.cpp |  4 ++--
 common/aicore/path_finding.cpp   |  2 +-
 common/clientutils.cpp           |  2 +-
 common/events.cpp                |  2 +-
 common/featured_text.h           |  2 +-
 common/game.h                    |  2 +-
 common/helpdata.cpp              |  2 +-
 common/map.h                     | 10 +++++-----
 common/path_finder.cpp           |  2 +-
 common/requirements.cpp          |  7 ++++---
 common/server_settings.h         |  2 +-
 server/advisors/autosettlers.cpp |  2 +-
 server/aiiface.cpp               |  2 +-
 server/diplomats.cpp             |  6 ++----
 server/savegame/savecompat.cpp   |  2 +-
 server/score.cpp                 |  2 +-
 server/techtools.cpp             |  9 +++++----
 tools/ruledit/tab_enablers.cpp   |  4 ++--
 utility/bitvector.h              |  4 ++--
 utility/log.h                    | 12 ++++++------
 utility/registry_ini.h           | 84 ++++++++++++++++++++++++++++++++++++++++++------------------------------------------
 utility/shared.h                 | 14 +++++++-------
 utility/speclist.h               | 55 +++++++++++++++++++++++++++++--------------------------
 utility/specpq.h                 |  4 ++--
 utility/specvec.h                |  2 +-
 utility/support.h                |  6 +++---
 27 files changed, 125 insertions(+), 122 deletions(-)

I like most of the changes.

@lmoureaux lmoureaux added enhancement New feature or request Untriaged This issue or PR needs triaging tools Issues related to mp, ruledit, etc along with CI and build tools. and removed Untriaged This issue or PR needs triaging labels Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tools Issues related to mp, ruledit, etc along with CI and build tools.
Projects
None yet
Development

No branches or pull requests

1 participant