File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 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'
Original file line number Diff line number Diff 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
6565You 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
6868Alternatively many IDEs support automatically running ` clang-format ` every time files are written.
6969
You can’t perform that action at this time.
0 commit comments