Update clang-format

This commit is contained in:
Patrick Nicolas
2025-10-29 15:30:35 +01:00
parent 4604b061d7
commit 1696512385
7 changed files with 19 additions and 20 deletions
+1 -1
View File
@@ -106,6 +106,6 @@ SpacesInAngles: false
SpacesInCStyleCastParentheses: false SpacesInCStyleCastParentheses: false
SpacesInParentheses: false SpacesInParentheses: false
SpacesInSquareBrackets: false SpacesInSquareBrackets: false
Standard: Cpp11 Standard: Latest
TabWidth: 8 TabWidth: 8
UseTab: ForIndentation UseTab: ForIndentation
+2 -2
View File
@@ -17,7 +17,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Run clang-format style check for C/C++/Protobuf programs. - name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/clang-format-action@v4.13.0 uses: jidicula/clang-format-action@2c659fea724e981e94741c0e7db663982cd7d3f4
with: with:
clang-format-version: '18' clang-format-version: '21'
check-path: ${{ matrix.path }} check-path: ${{ matrix.path }}
+1 -2
View File
@@ -1674,8 +1674,7 @@ void application::run()
#else #else
void application::run() void application::run()
{ {
struct sigaction act struct sigaction act{};
{};
act.sa_handler = [](int) { act.sa_handler = [](int) {
instance().exit_requested = true; instance().exit_requested = true;
}; };