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
This is a minimal clang-format file for Mono code. The code is not consistent
in its formatting, so this file is most often useful with git-clang-format [1],
which formats only changed lines.
Usage:
* Make some changes to Mono C code or headers
* Run `git clang-format` (maybe add -f if there are line ending issues from git)
* Your changed code should meet the formatting guidelines for Mono
Installation:
* Install LLVM tools (including clang-format) for your OS [2]
* Install Pythong on your OS
Code style:
Our goal is to match the Mono code style, not define a new one. The style
options [3] are many. Here we try to capture only a few. If you find something
is missing, feel free to add configuration options.
[1] https://github.com/llvm-mirror/clang/blob/master/tools/clang-format/git-clang-format
[2] http://releases.llvm.org/
[3] https://clang.llvm.org/docs/ClangFormatStyleOptions.html
0 commit comments