Skip to content

Commit 9cbe899

Browse files
authored
ci(clang-format): update to clang-format-19 (#24)
1 parent 14d8a3c commit 9cbe899

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ jobs:
1414
uses: actions/checkout@v2
1515

1616
- name: Clang-Format Formatting
17-
uses: jidicula/clang-format-action@v4.8.0
17+
uses: jidicula/clang-format-action@v4.14.0
1818
with:
19+
clang-format-version: '19'
1920
check-path: llvm-plugin/cpp
2021

2122
- name: Rustfmt Formatting

llvm-plugin/cpp/ffi.cc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,8 @@ auto moduleAnalysisManagerRegisterPass(
6969
Analysis<ModuleIR>::Entrypoint Entrypoint, llvm::AnalysisKey *Key) -> bool {
7070
const auto Lock = std::lock_guard{Analysis<ModuleIR>::MutexCurrentKey};
7171
Analysis<ModuleIR>::CurrentKey = Key;
72-
return AM.registerPass([&] {
73-
return Analysis<ModuleIR>{Entrypoint, {AnalysisData, Deleter}};
74-
});
72+
return AM.registerPass(
73+
[&] { return Analysis<ModuleIR>{Entrypoint, {AnalysisData, Deleter}}; });
7574
}
7675

7776
auto functionAnalysisManagerRegisterPass(

0 commit comments

Comments
 (0)