Commit Graph

61982 Commits

Author SHA1 Message Date
Brad King
2c27968619 clang-tidy: ignore warnings new in version 16
These warnings can be fixed in the future.  Ignore them for now.
2023-05-22 17:16:12 -04:00
Brad King
9ea7b4ac66 clang-tidy: Fix readability-redundant-string-cstr warnings 2023-05-22 17:15:58 -04:00
Brad King
bd4ec7a71e clang-tidy: Fix modernize-loop-convert warnings 2023-05-22 17:15:45 -04:00
Brad King
93ee2b369c Source: Fix -Wdangling-reference warnings exposed by gcc 13 2023-05-22 17:14:54 -04:00
Brad King
7b3ec2b891 Tests: Avoid printing function address in FindOpenAL.Test 2023-05-22 17:14:54 -04:00
Brad King
d531b9e7d1 zstd: Suppress clang-analyzer warnings 2023-05-22 16:51:16 -04:00
Brad King
bba02b8b4b zlib: Suppress clang-analyzer warnings 2023-05-22 16:51:16 -04:00
Brad King
395f0cb69c nghttp2: Suppress clang-analyzer warnings 2023-05-22 16:51:16 -04:00
Brad King
b18eca763c libuv: Suppress clang-analyzer warnings 2023-05-22 16:51:16 -04:00
Brad King
5ec464a76f librhash: Suppress clang-analyzer warnings 2023-05-22 16:51:15 -04:00
Brad King
e24c403816 liblzma: Suppress clang-analyzer warnings 2023-05-22 16:51:15 -04:00
Brad King
48297cf770 libarchive: Suppress clang-analyzer warnings 2023-05-22 16:51:15 -04:00
Brad King
91e4d27765 bzip2: Suppress clang-analyzer warnings 2023-05-22 16:51:15 -04:00
Brad King
e090f348d3 curl: Avoid redundant getenv calls in curltest
Also avoid using the result without checking for NULL.
2023-05-22 16:51:15 -04:00
Brad King
71817dc37c ccmake: Tell clang-analyzer a loop body runs at least once 2023-05-22 16:51:15 -04:00
Brad King
04b0d5c862 codespell: Fix typos 2023-05-22 16:51:15 -04:00
Brad King
3728f079af codespell: Avoid escape sequence that looks like misspelled "nodes" 2023-05-22 16:50:51 -04:00
Brad King
2316ea6ac2 codespell: Skip CTestCustom.cmake.in
It has patterns that match messages we cannot control.
2023-05-22 14:19:38 -04:00
Brad King
88f12c07c8 codespell: Skip more non-text files 2023-05-22 14:19:38 -04:00
Brad King
08bccb2dfd Merge branch 'upstream-KWSys' into ci-fedora-38
* upstream-KWSys:
  KWSys 2023-05-22 (df6f93a4)
2023-05-22 14:19:19 -04:00
KWSys Upstream
068ff58785 KWSys 2023-05-22 (df6f93a4)
Code extracted from:

    https://gitlab.kitware.com/utils/kwsys.git

at commit df6f93a430449816d1d8c112d0743cf30601c5b7 (master).

Upstream Shortlog
-----------------

Brad King (1):
      199aa713 RegularExpression: Tell clang-analyzer that program memory is initialized
2023-05-22 14:19:05 -04:00
Brad King
fc29c5f1bf Merge topic 'minor-refactoring'
8c066045ec Source: Improve some code readability and efficiency
f64a774b49 Source: Reuse some existing variable declarations

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8492
2023-05-22 12:39:27 -04:00
Brad King
8ce4e76dbf Merge topic 'autogen-test-file-generate'
08d49cfee6 Autogen: Add AUTOMOC test /w file(Generate)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8496
2023-05-22 12:38:33 -04:00
Brad King
970716e232 Merge topic 'FindOpenSSL-trust-root-dir'
5cc8a69867 FindOpenSSL: Trust the user's OPENSSL_ROOT_DIR

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8486
2023-05-22 12:37:27 -04:00
Brad King
7e68e5cf25 Merge topic 'doc-mingw-var'
c16f5914f3 Help: Clarify meaning of MINGW variable

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8495
2023-05-22 12:36:38 -04:00
Brad King
dc4a53f49e Merge topic 'FileAPI-framework'
b3a6a11e95 fileapi: Extend codemodel targets/compileGroups with Apple frameworks

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8489
2023-05-22 12:35:28 -04:00
Kitware Robot
dabba15172 CMake Nightly Date Stamp 2023-05-22 00:01:36 -04:00
Kitware Robot
faa14ecfae CMake Nightly Date Stamp 2023-05-21 00:01:08 -04:00
Kitware Robot
f32e275f29 CMake Nightly Date Stamp 2023-05-20 00:01:11 -04:00
Orkun Tokdemir
08d49cfee6 Autogen: Add AUTOMOC test /w file(Generate)
Fixes: #20382
2023-05-19 16:28:51 +02:00
Meekness Adesina
8c066045ec Source: Improve some code readability and efficiency
- Replace raw loop with STL find algorithm for improved efficiency
- Update functions for enhanced readability and understandability
2023-05-19 09:56:07 -04:00
Brad King
c16f5914f3 Help: Clarify meaning of MINGW variable
Fixes: #24928
2023-05-19 09:24:46 -04:00
Meekness Adesina
f64a774b49 Source: Reuse some existing variable declarations 2023-05-19 08:58:57 -04:00
Brad King
9a7ce875c8 Merge topic 'doc-skip-linting'
652a785311 Help: Wording, formatting and ordering fixes for SKIP_LINTING docs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8493
2023-05-19 08:51:31 -04:00
Brad King
779f704c25 Merge topic 'doc-PRE_BUILD'
949dcdb3bc Help: Clarify PRE_BUILD option for add_custom_command()

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8494
2023-05-19 08:50:44 -04:00
Brad King
f1438379c2 Merge topic 'test-bootstrap'
80181da866 Tests: Add option to control timeout of BootstrapTest
21df34b255 Tests: Modernize name of option to control existence of BootstrapTest

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8491
2023-05-19 08:46:23 -04:00
Brad King
9939f606a6 Merge topic 'cxxmodules-private-between-targets'
d38779df2a ci: Enable RunCMake.CXXModules collation cases in clang jobs
69e4525241 Tests/CXXModules: add example for private modules between targets
18f87c87f8 cmCxxModuleMapper: track whether modules are private or not
56f7d6f827 cmCxxModuleMapper: add a structure to represent BMI locations
8207a3a266 cmDyndepCollation: add a query for visibility of an object's modules
e8efcbec8c iwyu: ignore `std::remove_reference` requirements

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8476
2023-05-19 08:35:17 -04:00
Brad King
a60ce4e5f4 Merge topic 'vs-cxxmodules'
51c343b788 ci: Enable C++20 module testing with VS 2022 on ARM64
406a103318 VS: Add support for C++ module internal partitions in VS 17.6 and newer

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8471
2023-05-19 08:33:20 -04:00
Marc Chevrier
b3a6a11e95 fileapi: Extend codemodel targets/compileGroups with Apple frameworks
Fixes: #19897
2023-05-19 12:10:20 +02:00
Kitware Robot
685eba4dd9 CMake Nightly Date Stamp 2023-05-19 00:01:12 -04:00
Richard Levitte
5cc8a69867 FindOpenSSL: Trust the user's OPENSSL_ROOT_DIR
When the user has specified the OpenSSL installation root directory,
through the variable OPENSSL_ROOT_DIR or the environment variable with
the same name, trust it, don't try to find OpenSSL anywhere else.

Fixes: #18352
2023-05-19 05:59:57 +02:00
Craig Scott
949dcdb3bc
Help: Clarify PRE_BUILD option for add_custom_command()
Fixes: #24889
2023-05-19 12:40:36 +10:00
Craig Scott
652a785311
Help: Wording, formatting and ordering fixes for SKIP_LINTING docs
Amends b480315e0c (TargetGenerator: Add SKIP_LINTING source property,
2023-05-12).
2023-05-19 12:29:06 +10:00
Brad King
5056a224dc Merge branch 'release-3.26' 2023-05-18 14:34:22 -04:00
Brad King
0926ed1f69 CMake 3.26.4 2023-05-18 13:49:44 -04:00
Brad King
80181da866 Tests: Add option to control timeout of BootstrapTest 2023-05-18 13:42:42 -04:00
Brad King
21df34b255 Tests: Modernize name of option to control existence of BootstrapTest 2023-05-18 13:41:31 -04:00
Brad King
4d5c32fa2c Merge topic 'skip-linting'
775c369420 Autogen: set SKIP_LINTING ON for generated files
b480315e0c TargetGenerator: Add SKIP_LINTING source property
993dde925f TargetGenerator: Factor out generation of code check rules
023af4ab2f Improve Const Correctness

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8467
2023-05-18 09:24:17 -04:00
Brad King
b6c45d28b2 Merge topic 'clang_cxx26'
0183956d30 Clang: C++26 support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8480
2023-05-18 09:22:02 -04:00
Brad King
fed7b2f20e Merge topic 'iar-add-support-avr-8101'
7cd982faf4 IAR: Added support for IAR C/C++ Compiler for Microchip AVR 8.10+

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8481
2023-05-18 09:21:01 -04:00