[PR #15110] [MERGED] Upgrade clang-format to 15.0.7 #30429

Open
opened 2026-01-31 09:40:47 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/15110
Author: @lhecker
Created: 4/4/2023
Status: Merged
Merged: 4/5/2023
Merged by: @zadjii-msft

Base: mainHead: dev/lhecker/clang-format-15


📝 Commits (2)

  • 9fc3580 Upgrade clang-format to 15.0.7
  • 2348e8d Add options back that are still relevant

📊 Changes

13 files changed (+188 additions, -138 deletions)

View changed files

📝 .clang-format (+3 -57)
📝 .github/actions/spelling/expect/expect.txt (+1 -2)
📝 src/cascadia/TerminalControl/ControlCore.h (+13 -7)
📝 src/cascadia/TerminalControl/ControlSettings.h (+9 -3)
📝 src/cascadia/TerminalSettingsEditor/ViewModelHelpers.h (+27 -15)
📝 src/cascadia/TerminalSettingsEditor/ViewModelHelpers.idl.h (+4 -1)
📝 src/cascadia/TerminalSettingsModel/ActionArgs.h (+12 -6)
📝 src/cascadia/TerminalSettingsModel/IInheritable.idl.h (+4 -1)
📝 src/cascadia/inc/cppwinrt_utils.h (+82 -34)
📝 src/inc/til/bytes.h (+1 -1)
📝 src/inc/til/pmr.h (+2 -2)
📝 src/renderer/atlas/AtlasEngine.h (+29 -8)
📝 tools/packages.config (+1 -1)

📄 Description

Upgrading clang-format lead to a few changes in the formatting
of code inside macros. Apart from the upgrade, I've also spent
some time removing all options from .clang-format that are
redundant with BasedOnStyle: Microsoft.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/15110 **Author:** [@lhecker](https://github.com/lhecker) **Created:** 4/4/2023 **Status:** ✅ Merged **Merged:** 4/5/2023 **Merged by:** [@zadjii-msft](https://github.com/zadjii-msft) **Base:** `main` ← **Head:** `dev/lhecker/clang-format-15` --- ### 📝 Commits (2) - [`9fc3580`](https://github.com/microsoft/terminal/commit/9fc3580eca7b3088cb589dd1db2476d7a7b959fd) Upgrade clang-format to 15.0.7 - [`2348e8d`](https://github.com/microsoft/terminal/commit/2348e8d7331d41411e75aac09c1f326e04fbcd26) Add options back that are still relevant ### 📊 Changes **13 files changed** (+188 additions, -138 deletions) <details> <summary>View changed files</summary> 📝 `.clang-format` (+3 -57) 📝 `.github/actions/spelling/expect/expect.txt` (+1 -2) 📝 `src/cascadia/TerminalControl/ControlCore.h` (+13 -7) 📝 `src/cascadia/TerminalControl/ControlSettings.h` (+9 -3) 📝 `src/cascadia/TerminalSettingsEditor/ViewModelHelpers.h` (+27 -15) 📝 `src/cascadia/TerminalSettingsEditor/ViewModelHelpers.idl.h` (+4 -1) 📝 `src/cascadia/TerminalSettingsModel/ActionArgs.h` (+12 -6) 📝 `src/cascadia/TerminalSettingsModel/IInheritable.idl.h` (+4 -1) 📝 `src/cascadia/inc/cppwinrt_utils.h` (+82 -34) 📝 `src/inc/til/bytes.h` (+1 -1) 📝 `src/inc/til/pmr.h` (+2 -2) 📝 `src/renderer/atlas/AtlasEngine.h` (+29 -8) 📝 `tools/packages.config` (+1 -1) </details> ### 📄 Description Upgrading clang-format lead to a few changes in the formatting of code inside macros. Apart from the upgrade, I've also spent some time removing all options from .clang-format that are redundant with `BasedOnStyle: Microsoft`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:40:47 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#30429