Skip to content

Commit

Permalink
lint: bump llvm to 18.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
fxliang committed Jun 28, 2024
1 parent 63ff96b commit 8ae4e40
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/commit-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:
uses: actions/cache@v4
with:
path: C:\\Program Files\\LLVM
key: ${{ runner.os }}-llvm-17.0.6
key: ${{ runner.os }}-llvm-18.1.6

- name: Install llvm
if: steps.cache-llvm.outputs.cache-hit != 'true'
run: choco install llvm --version=17.0.6
run: choco install llvm --version=18.1.6

- name: Code style lint
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions WeaselIPC/PipeChannel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ PipeChannelBase::PipeChannelBase(std::wstring&& pn_cmd,
buffer(std::make_unique<char[]>(bs)),
hpipe(INVALID_HANDLE_VALUE),
has_body(false),
sa(s){};
sa(s) {};

PipeChannelBase::PipeChannelBase(PipeChannelBase&& r)
: write_stream(std::move(r.write_stream)),
Expand All @@ -33,7 +33,7 @@ PipeChannelBase::PipeChannelBase(PipeChannelBase&& r)
buffer(std::move(r.buffer)),
hpipe(r.hpipe),
has_body(r.has_body),
sa(r.sa){};
sa(r.sa) {};

PipeChannelBase::~PipeChannelBase() {
_FinalizePipe(hpipe);
Expand Down
2 changes: 1 addition & 1 deletion WeaselTSF/Compartment.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class CCompartmentEventSink : public ITfCompartmentEventSink {
public:
using Callback = std::function<HRESULT(REFGUID guidCompartment)>;
CCompartmentEventSink(Callback callback)
: _callback(callback), _refCount(1){};
: _callback(callback), _refCount(1) {};
~CCompartmentEventSink() = default;

// IUnknown
Expand Down
2 changes: 1 addition & 1 deletion WeaselUI/Layout.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
namespace weasel {
class GraphicsRoundRectPath : public Gdiplus::GraphicsPath {
public:
GraphicsRoundRectPath(){};
GraphicsRoundRectPath() {};
GraphicsRoundRectPath(int left,
int top,
int width,
Expand Down

0 comments on commit 8ae4e40

Please sign in to comment.