Skip to content

Commit 217fe66

Browse files
committed
use clang 14
1 parent 3d8b767 commit 217fe66

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- uses: pachadotdev/clang-format@main
5151
if: matrix.config.custom == 'clang-format'
5252
with:
53-
version: '20'
53+
version: '14'
5454
files: 'src/*.cpp src/*.h inst/include/*.h'
5555
auto-commit: true
5656
commit-message: 'style: format C++ code in R package'

vignettes/16-internals.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ covr::report(cpp4r_coverage())
6060

6161
## Code formatting
6262

63-
This project uses [clang-format](https://clang.llvm.org/docs/ClangFormat.html) (version 20) to automatically format the c++ code.
63+
This project uses [clang-format](https://clang.llvm.org/docs/ClangFormat.html) (version 14) to automatically format the C++ code.
6464

6565
You can run `make format` to re-format all code in the project.
66-
If your system does not have `clang-format` version 20, you can install it from https://github.com/pachadotdev/clang-format.
66+
If your system does not have `clang-format` version 14, you can install it from https://github.com/pachadotdev/clang-format.
6767

6868
Alternatively many IDEs support automatically running `clang-format` every time files are written.
6969

0 commit comments

Comments
 (0)