Skip to content

Commit 5bdfad7

Browse files
committed
Use clang-format version 18
1 parent 6e193fe commit 5bdfad7

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.github/workflows/compile.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515
- name: Run clang-format style check for C/C++ programs.
16-
uses: jidicula/clang-format-action@v3.5.1
16+
uses: jidicula/clang-format-action@v4.13.0
1717
with:
18-
clang-format-version: '11'
18+
clang-format-version: '18'
1919
check-path: '.'
2020
fallback-style: 'Google'
2121

src/Edward/proxy_supervisor.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,7 @@ bool ProxySupervisor::send(
134134
}
135135

136136
nlohmann::basic_json<> ProxySupervisor::readReply() {
137-
while (!this->hasReplied)
138-
;
137+
while (!this->hasReplied);
139138
WARDuino::instance()->debugger->channel->write("read reply: succeeded\n");
140139
this->hasReplied = false;
141140
return this->proxyResult;

src/Interpreter/interpreter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,8 @@ bool Interpreter::interpret(Module *m, bool waiting) {
453453
}
454454

455455
// Resolve all unhandled callback events
456-
while (CallbackHandler::resolving_event && CallbackHandler::resolve_event())
457-
;
456+
while (CallbackHandler::resolving_event &&
457+
CallbackHandler::resolve_event());
458458

459459
dbg_trace("Interpretation ended %s with status %s\n",
460460
program_done ? "expectedly" : "unexpectedly",

0 commit comments

Comments
 (0)