Skip to content

Commit 9473427

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

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.github/workflows/compile.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Run clang-format style check for C/C++ programs.
1616
uses: jidicula/[email protected]
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

+1-2
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

+2-2
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)