You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vignettes/internals.Rmd
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -54,6 +54,12 @@ To calculate code coverage of the cpp11 package run the following from the `cpp1
54
54
covr::report(cpp11_coverage())
55
55
```
56
56
57
+
## Code formatting
58
+
59
+
This project uses [clang-format](https://clang.llvm.org/docs/ClangFormat.html) to automatically format the c++ code.
60
+
61
+
You can run `make format` to re-format all code in the project. Alternatively many IDEs support automatically running `clang-format` every time files are written.
62
+
57
63
## Code organization
58
64
59
65
cpp11 is a header only library, so all source code exposed to users lives in [inst/include](https://github.com/r-lib/cpp11/tree/master/inst/include).
0 commit comments