Kitware Robot
d9fd2f5402
Revise C++ coding style using clang-format
...
Run the `Utilities/Scripts/clang-format.bash` script to update
all our C++ code to a new style defined by `.clang-format`.
Use `clang-format` version 3.8.
* If you reached this commit for a line in `git blame`, re-run the blame
operation starting at the parent of this commit to see older history
for the content.
* See the parent commit for instructions to rebase a change across this
style transition commit.
2016-05-16 16:05:19 -04:00
Kitware Robot
77543bde41
Convert CMake-language commands to lower case
...
Ancient CMake versions required upper-case commands. Later command
names became case-insensitive. Now the preferred style is lower-case.
Run the following shell code:
cmake --help-command-list |
grep -v "cmake version" |
while read c; do
echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
done >convert.sed &&
git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
xargs -0 sed -i -f convert.sed &&
rm convert.sed
2012-08-13 14:19:16 -04:00
Kitware Robot
7bbaa4283d
Remove trailing whitespace from most CMake and C/C++ code
...
Our Git commit hooks disallow modification or addition of lines with
trailing whitespace. Wipe out all remnants of trailing whitespace
everywhere except third-party code.
Run the following shell code:
git ls-files -z -- \
bootstrap doxygen.config '*.readme' \
'*.c' '*.cmake' '*.cpp' '*.cxx' \
'*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \
'*.mm' '*.pike' '*.py' '*.txt' '*.vim' |
egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' |
egrep -z -v '^(Modules/CPack\..*\.in)' |
xargs -0 sed -i 's/ \+$//'
2012-08-13 14:18:39 -04:00
Ken Martin
ce8810c4e7
ENH: preclean some warnings
2008-03-25 11:27:18 -04:00
Ken Martin
836a280a6a
minor fix for c tests
2002-07-31 11:08:42 -04:00
Ken Martin
9ca602e18e
updated to mods in command
2002-07-30 16:19:39 -04:00
Ken Martin
38145ad5a4
modified create test source to create a vector
2002-06-19 12:52:16 -04:00
Bill Hoffman
1182eba905
ENH: add missing file
2002-04-05 07:22:56 -05:00
Bill Hoffman
e4dce08591
ENH: add the ability to process command line arguments in the test driver before the test driver gets them
2002-04-04 16:53:37 -05:00
Bill Hoffman
0223ba91f3
ENH: add test for set to create source lists
2002-03-29 11:12:46 -05:00
Sebastien Barre
1623dc2183
ENH: add testdriver test with source file in subdir
2002-03-27 13:47:05 -05:00
Bill Hoffman
2f639d37b5
ENH: add new command to create a test driver
2002-03-20 16:19:00 -05:00