clang-format.rst (c1144d29f405ce1f4e6ede6482beb3d0d09750c6) | clang-format.rst (e7b4311ebcac142be28c9fa1b9f63a9d35fc2a92) |
---|---|
1.. _clangformat: 2 3clang-format 4============ 5 6``clang-format`` is a tool to format C/C++/... code according to 7a set of rules and heuristics. Like most tools, it is not perfect 8nor covers every single case, but it is good enough to be helpful. --- 18 unchanged lines hidden (view full) --- 27subsystem or folder. To do so, you can override the defaults by writing 28another ``.clang-format`` file in a subfolder. 29 30The tool itself has already been included in the repositories of popular 31Linux distributions for a long time. Search for ``clang-format`` in 32your repositories. Otherwise, you can either download pre-built 33LLVM/clang binaries or build the source code from: 34 | 1.. _clangformat: 2 3clang-format 4============ 5 6``clang-format`` is a tool to format C/C++/... code according to 7a set of rules and heuristics. Like most tools, it is not perfect 8nor covers every single case, but it is good enough to be helpful. --- 18 unchanged lines hidden (view full) --- 27subsystem or folder. To do so, you can override the defaults by writing 28another ``.clang-format`` file in a subfolder. 29 30The tool itself has already been included in the repositories of popular 31Linux distributions for a long time. Search for ``clang-format`` in 32your repositories. Otherwise, you can either download pre-built 33LLVM/clang binaries or build the source code from: 34 |
35 http://releases.llvm.org/download.html | 35 https://releases.llvm.org/download.html |
36 37See more information about the tool at: 38 39 https://clang.llvm.org/docs/ClangFormat.html 40 41 https://clang.llvm.org/docs/ClangFormatStyleOptions.html 42 43 --- 141 unchanged lines hidden --- | 36 37See more information about the tool at: 38 39 https://clang.llvm.org/docs/ClangFormat.html 40 41 https://clang.llvm.org/docs/ClangFormatStyleOptions.html 42 43 --- 141 unchanged lines hidden --- |