| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
bbbcbb1a48 TestDriver: Disable clang-tidy 'modernize-use-using'
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2118
|
| | |
|
|/
|
|
|
|
|
|
| |
GCC 8.1.0 now gives an error if `strncpy` is called with a bound
depending on the length of the source argument. Replace `strncpy` with
`strcpy` as the length is known a priori.
Fixes: #18038
|
|
|
|
|
| |
When applied on a user project, cppcheck complains that the 'test_name'
variable could have a reduced scope.
|
|
|
|
|
|
|
| |
Since commit v3.8.0-rc1~51^2~1 (TestDriver: calc NumTests at compile
time, 2017-01-24) we convert an expression that uses `sizeof()` to an
`int` as a compile-time constant. Some GCC versions warn about this
with `-Wconversion`. Add a cast to avoid the warning.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Clang-tidy advises to use a safer function in place of strcpy.
This should avoid such warnings in user build using clang-tidy.
|
|
|
|
| |
Suggested-by: Ken Moreland <kmorel@sandia.gov>
|
|
|
|
| |
Clang -Wconditional-uninitialized warns otherwise.
|
|
|
|
| |
Mark private function/global with static linkage.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As reported by Coverity Scan, if the configured file contains a #include,
Untrusted array index read
The array index could be controlled by an attacker, leading to reads outside
the bounds of the array.
In main: Read from array at index computed using an unscrutinized value from
an untrusted source (CWE-129)
CID 1081283 (#1 of 1): Untrusted array index read (TAINTED_SCALAR)
25. tainted_data: Using tainted variable "testToRun" as an index into an array
"cmakeGeneratedFunctionMapEntries".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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/ \+$//'
|
|
|
|
| |
allow being configured as C. Thanks to Monsieur Francois Bertel for the patch.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
generating all the code. fixes bug 28
|