summaryrefslogtreecommitdiffstats
path: root/Utilities/Scripts/clang-format.bash
Commit message (Collapse)AuthorAgeFilesLines
* clang-format.bash: Use Git attributes to mark files for formattingBrad King2017-02-221-29/+7
|
* clang-format.bash: Format CUDA source files tooBrad King2017-02-141-1/+1
| | | | | | Add `.clang-format` configuration files for Cuda test directories that use `Standard: Cpp11`. Otherwise clang-format splits the triple angle brackets used for CUDA kernels.
* Remove unused cm_sha2 infrastructureBrad King2016-11-101-1/+1
| | | | | All clients of `cm_sha2` have been ported to `cmCryptoHash`, which now uses librhash internally.
* Features: Fix cxx_right_angle_brackets compiler feature testAlex Wang2016-10-251-0/+1
| | | | | | | The clang-format pass in commit v3.6.0-rc1~54^2~1 (Revise C++ coding style using clang-format, 2016-05-16) changed the template right angle brackets from `>>` to `> >`, which defeats the purpose of this test. Change it back and exclude this content from formatting.
* Tests: Port GenerateExportHeader test to RunCMake infrastructureBrad King2016-09-051-1/+1
| | | | This will allow build failure cases to be added later.
* clang-format.bash: Fix filter-branch example documentationBrad King2016-06-301-4/+8
| | | | | | Inside `git filter-branch --tree-filter` we must format all tracked files because formatting of the tree for each commit is independent from earlier commits.
* clang-format.bash: Limit formatting to files selected by optionsBrad King2016-05-201-2/+45
| | | | | | | Now that our one-shot clang-format run is complete we rarely need to filter the entire tree anymore. Filter nothing if no options are given and just print the usage message. Offer options to specify selection of some set of files from Git as needed for various workflows.
* Add a script to run clang-format on the entire source treeBrad King2016-05-161-0/+91
List all sources in version control and filter out those that we should not format for various reasons. Then run the clang-format tool to do an in-place update.