- Mar 02, 2020
-
-
Hans Johnson authored
Enforce consistency in large projects, where it often happens that a definition of function is refactored, changing the parameter names, but its declaration in header file is not updated. With this check, we can easily find and correct such inconsistencies, keeping declaration and definition always in sync. Unnamed parameters are allowed and are not taken into account when comparing function declarations
-
Hans Johnson authored
Enforce consistency in large projects, where it often happens that a definition of function is refactored, changing the parameter names, but its declaration in header file is not updated. With this check, we can easily find and correct such inconsistencies, keeping declaration and definition always in sync. Unnamed parameters are allowed and are not taken into account when comparing function declarations
-
Hans Johnson authored
Finds and replaces integer literals which are cast to bool. cd ${BLDDIR} run-clang-tidy.py -extra-arg=-D__clang__ -checks=-*,modernize-use-bool-literals -header-filter=.* -fix
-
Hans Johnson authored
The check converts the usage of null pointer constants (eg. NULL, 0) to use the new C++11 nullptr keyword. cd run-clang-tidy.py -extra-arg=-D__clang__ -checks=-*,modernize-use-nullptr -header-filter=.* -fix
-
Hans Johnson authored
Find and remove redundant void argument lists.
-
Hans Johnson authored
-
Hans Johnson authored
Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case.
-
Hans Johnson authored
EXECUTABLE_OUTPUT_PATH is the old executable location variable. The target property RUNTIME_OUTPUT_DIRECTORY supercedes this variable for a target if it is set. Executable targets are otherwise placed in this directory.
-
a1a261ac CMake: Fix psapi lib name on case-sensitive fs Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !170
-
- Feb 28, 2020
-
-
Fix another place missed by commit c3acc96d (CMake: Fix psapi lib name on case-sensitive fs, 2020-02-13).
-
- Feb 25, 2020
-
-
acee32bd Adding DecodeUrl and GetFilePathFromURI methods Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Michael Migliore <michael.migliore@kitware.com> Acked-by:
Joachim Pouderoux <joachim.pouderoux@kitware.com> Merge-request: !164
-
44eaaa6e Terminal: Add st-256color to VT100 color support whitelist Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !168
-
- Feb 19, 2020
-
-
Leon Richardt authored
-
- Feb 18, 2020
-
-
Mathieu Westphal (Kitware) authored
-
- Feb 17, 2020
-
-
ea77593a SystemTools: CopyFileIfDifferent: Fix endless recursion Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !167
-
- Feb 14, 2020
-
-
c3acc96d CMake: Fix psapi lib name on case-sensitive fs Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !166
-
- Feb 13, 2020
-
-
Sebastian Lipponer authored
-
Julien Schueller authored
Fixes detection of GetProcessMemoryInfo on MinGW
-
c2420a42 SystemTools: Revert "CopyFileIfDifferent: Ensure that source is a file" Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !165
-
573713fa SystemTools: CopyFileIfDifferent: Ensure that source is a file Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !163
-
- Feb 12, 2020
-
-
- Nov 15, 2019
-
-
2581cfd1 SystemTools: Update EnableMSVCDebugHook to simulate "Retry" Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !159
-
- Nov 14, 2019
-
-
Brad King authored
Update our report handler to pretend that the user pressed "Retry". This will continue with what would have happened if there were no debug hook, such as actually abort()ing the process.
-
- Nov 13, 2019
-
-
dfd0521e Terminal: Support GNU make's TTY notification environment variable Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !158
-
- Nov 11, 2019
-
-
Starting with release 4.0, GNU make provides for collecting recipe output and printing it all at once after the recipe is complete, as well as ensuring that only one rule is printing output at a time. This allows parallel builds without mangled output. However, it means that programs run by make do not have a TTY for their stdout or stderr: make is collecting this. GNU make 4.1 and above will set an environment variable MAKE_TERMOUT to a non-empty value if make believes that after it's done collecting stdout, the results will be displayed on a TTY. This patch teaches KWsys to check that environment variable and if set, proceed as if output is going to a TTY.
-
- Nov 04, 2019
-
-
a5248df0 CTestCustom: Suppress PGI Community Edition compiler license warnings b019deea RegularExpression: Suppress VS 2013 warning C4351 Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !157
-
- Nov 01, 2019
- Oct 31, 2019
-
-
680ab6d2 FStream: Expose is_open publicly 0492cad3 SystemTools: Remove redundant ToWindowsExtendedPath calls Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !155
-
- Oct 30, 2019
-
-
cdd52ce1 RegularExpression: Initialize RegularExpressionMatch arrays fully Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !156
-
- Oct 29, 2019
-
-
Todd Martin authored
-
Todd Martin authored
-
Brad King authored
The `RegularExpressionMatch` class added by commit cff58f07 (RegularExpression: New RegularExpressionMatch class, 2017-12-04) has members with array-of-pointer types. Use uniform initialization syntax to initialize all array elements on construction. This fixes a Clang scan-build 7 warning: ``` RegularExpression.hxx:138:23: warning: The left operand of '==' is a garbage value if (this->startp[n] == nullptr) { ~~~~~~~~~~~~~~~ ^ ```
-
- Oct 16, 2019
-
-
569a1aed Encoding: Add ToWindowsExtendedPath support for wide string Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !153
-
- Oct 15, 2019
-
-
- Sep 18, 2019
-
-
46c55893 Replaced several 0, NULL, and KWSYS_NULLPTR with nullptr 419aaa35 Fixed -Wunused-macros warnings 750da75a Fixed 64 to 32 bit truncation warning by casting 30de8e17 Fixed -Wsign-conversion warnings by adding casts 4de1241f Fixed -Wextra-semi-stmt warning Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !152
-
- Sep 17, 2019
-
-
- Find/replace of KWSYS_NULLPTR with nullptr - Find/replace of NULL with nullptr - Manually fixed -Wzero-as-null-pointer-constant warnings - Careful review to fix some comments, string output, etc.
-
- Removed unused defines - Conditionalized others
-
-