Skip to content

Commit

Permalink
Use clang-format version 18
Browse files Browse the repository at this point in the history
  • Loading branch information
tolauwae committed Nov 26, 2024
1 parent 6e193fe commit 9473427
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Run clang-format style check for C/C++ programs.
uses: jidicula/[email protected]
with:
clang-format-version: '11'
clang-format-version: '18'
check-path: '.'
fallback-style: 'Google'

Expand Down
3 changes: 1 addition & 2 deletions src/Edward/proxy_supervisor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,7 @@ bool ProxySupervisor::send(
}

nlohmann::basic_json<> ProxySupervisor::readReply() {
while (!this->hasReplied)
;
while (!this->hasReplied);
WARDuino::instance()->debugger->channel->write("read reply: succeeded\n");
this->hasReplied = false;
return this->proxyResult;
Expand Down
4 changes: 2 additions & 2 deletions src/Interpreter/interpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,8 @@ bool Interpreter::interpret(Module *m, bool waiting) {
}

// Resolve all unhandled callback events
while (CallbackHandler::resolving_event && CallbackHandler::resolve_event())
;
while (CallbackHandler::resolving_event &&
CallbackHandler::resolve_event());

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

0 comments on commit 9473427

Please sign in to comment.