Skip to content
Snippets Groups Projects
Commit d4e02a33 authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'doc-clang-format-version'


51859eab CONTRIBUTING: Specify clang-format version used for code style

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !35
parents 411e958f 51859eab
No related branches found
No related tags found
No related merge requests found
......@@ -27,10 +27,12 @@ copies of KWSys within dependent projects can be updated to get the changes.
Code Style
==========
We use `clang-format`_ to define our style for C++ code in the KWSys source
tree. See the `.clang-format`_ configuration file for our style settings.
Use ``clang-format`` version 3.8 or higher to format source files.
See also the `clang-format.bash`_ script.
We use `clang-format`_ version **3.8** to define our style for C++ code in
the KWSys source tree. See the `.clang-format`_ configuration file for
our style settings. Use the `clang-format.bash`_ script to format source
code. It automatically runs ``clang-format`` on the set of source files
for which we enforce style. The script also has options to format only
a subset of files, such as those that are locally modified.
.. _`clang-format`: http://clang.llvm.org/docs/ClangFormat.html
.. _`.clang-format`: .clang-format
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment