Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | clang-tidy: fix `readability-use-anyofallof` warnings | Ben Boeckel | 2021-01-27 | 1 | -1/+0 |
| | |||||
* | clang-tidy: fix `readability-simplify-boolean-expr` warnings | Ben Boeckel | 2021-01-27 | 1 | -1/+0 |
| | |||||
* | clang-tidy: fix `readability-redundant-string-init` warnings | Ben Boeckel | 2021-01-27 | 1 | -1/+0 |
| | |||||
* | clang-tidy: fix `readability-redundant-access-specifiers` warnings | Ben Boeckel | 2021-01-27 | 1 | -1/+0 |
| | |||||
* | clang-tidy: fix `readability-qualified-auto` warnings | Ben Boeckel | 2021-01-27 | 1 | -1/+0 |
| | |||||
* | clang-tidy: fix `readability-make-member-function-const` warnings | Ben Boeckel | 2021-01-27 | 1 | -1/+0 |
| | |||||
* | clang-tidy: fix `performance-trivially-destructible` warnings | Ben Boeckel | 2021-01-27 | 1 | -1/+0 |
| | |||||
* | clang-tidy: fix `performance-no-automatic-move` warnings | Ben Boeckel | 2021-01-27 | 1 | -1/+0 |
| | |||||
* | clang-tidy: fix `bugprone-suspicious-include` warnings | Ben Boeckel | 2021-01-27 | 1 | -1/+0 |
| | |||||
* | clang-tidy: fix `bugprone-signed-char-misuse` warnings | Ben Boeckel | 2021-01-27 | 1 | -1/+0 |
| | |||||
* | clang-tidy: fix `bugprone-reserved-identifier` warnings | Ben Boeckel | 2021-01-27 | 1 | -1/+0 |
| | |||||
* | clang-tidy: ignore new warnings from newer versions | Ben Boeckel | 2020-11-12 | 1 | -0/+11 |
| | | | | These warnings can be fixed in the future, but are ignored for now. | ||||
* | clang-tidy: ignore `misc-no-recursion` | Ben Boeckel | 2020-11-12 | 1 | -0/+1 |
| | | | | | CMake has intentional recursion in its codebase, so avoid warning about occurrences. | ||||
* | clang-tidy: ignore making members static | Ben Boeckel | 2020-04-13 | 1 | -0/+1 |
| | | | | | CMake has lots of instances of this which is outside the scope of this topic right now. | ||||
* | clang-tidy: ignore the use-trailing-return-type lint | Ben Boeckel | 2020-04-13 | 1 | -0/+1 |
| | | | | CMake isn't ready for this yet. | ||||
* | clang-tidy: modernize-deprecated-headers | Regina Pfeifer | 2019-09-16 | 1 | -1/+0 |
| | |||||
* | clang-tidy: modernize-use-auto | Regina Pfeifer | 2019-09-10 | 1 | -1/+2 |
| | | | | | | Set the MinTypeNameLength option to an impossibly high value in order to limit the diagnostics to iterators. Leave new expressions and cast expressions for later. | ||||
* | Merge topic 'tidy-return-brace' | Brad King | 2019-09-10 | 1 | -1/+0 |
|\ | | | | | | | | | | | | | d63c1e4e6e clang-tidy: modernize-return-braced-init-list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3790 | ||||
| * | clang-tidy: modernize-return-braced-init-list | Regina Pfeifer | 2019-09-06 | 1 | -1/+0 |
| | | |||||
* | | clang-tidy: Remove old entries from blacklist | Regina Pfeifer | 2019-09-06 | 1 | -4/+0 |
|/ | | | | | | Now that clang-tidy-8 is used, we can remove the checks that have been renamed. Also enable a return-braced-init-list, because we don't have any violations for that one. | ||||
* | clang-tidy: Enable check modernize-use-using | Regina Pfeifer | 2019-09-04 | 1 | -1/+0 |
| | | | | | | Annotate the remaining typedefs with NOLINT. Unfortunately, clang-tidy is not smart enough and suggests the use of using inside extern "C" blocks. | ||||
* | clang-tidy: isolate declarations for readability | Regina Pfeifer | 2019-08-20 | 1 | -1/+0 |
| | |||||
* | clang-tidy: Enable performance-inefficient-string-concatenation | Sebastian Holtermann | 2019-08-05 | 1 | -1/+0 |
| | | | | | | | Enables the clang-tidy test performance-inefficient-string-concatenation and replaces all inefficient string concatenations with `cmStrCat`. Closes: #19555 | ||||
* | clang-tidy: Blacklist violations for version 8 | Regina Pfeifer | 2019-07-30 | 1 | -0/+8 |
| | | | | | Check the codebase with clang-tidy version 8, fix the low hanging fruits, blacklist the rest. | ||||
* | Merge topic 'tidy-fixes' | Brad King | 2019-04-08 | 1 | -1/+0 |
|\ | | | | | | | | | | | | | c1d1027ac1 Enabled performance-inefficient-vector-operation check in clang-tidy Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3185 | ||||
| * | Enabled performance-inefficient-vector-operation check in clang-tidy | Jakub Kalinski | 2019-04-02 | 1 | -1/+0 |
| | | |||||
* | | Modernize: Enable modernize-raw-string-literal in clang-tidy | Artur Ryt | 2019-04-02 | 1 | -1/+0 |
|/ | |||||
* | Merge topic 'tidy-use-equals-default-fix' | Brad King | 2019-01-31 | 1 | -0/+2 |
|\ | | | | | | | | | | | | | 3f9822ff6d clang-tidy: Silence use-equals-default warning Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2887 | ||||
| * | clang-tidy: Silence use-equals-default warning | Regina Pfeifer | 2019-01-30 | 1 | -0/+2 |
| | | | | | | | | | | | | clang-tidy 7 has an option to suppress this warning in macros which defaults to '1'. Set the option to '0' and silence the warning explicitly. | ||||
* | | clang-tidy: Use `= delete` | Regina Pfeifer | 2019-01-29 | 1 | -1/+0 |
|/ | |||||
* | clang-tidy: Use `= default` | Regina Pfeifer | 2019-01-25 | 1 | -1/+0 |
| | | | | | | Suppress some cases in `Source/cmGeneratorExpressionNode.cxx` and `Source/cmUVHandlePtr.h` where a few older compilers require a user-defined default constructor (with `{}`). | ||||
* | clang-tidy: Pass by value | Regina Pfeifer | 2019-01-22 | 1 | -1/+0 |
| | |||||
* | clang-tidy: Use emplace | Regina Pfeifer | 2019-01-17 | 1 | -1/+0 |
| | |||||
* | clang-tidy: Simplify boolean expressions | Regina Pfeifer | 2019-01-15 | 1 | -1/+0 |
| | |||||
* | clang-tidy: Use default member initialization | Regina Pfeifer | 2018-12-15 | 1 | -1/+3 |
| | |||||
* | clang-tidy: Remove redundant member initializations | Regina Pfeifer | 2018-12-15 | 1 | -1/+0 |
| | |||||
* | Merge topic 'readability-static-accessed-through-instance' | Brad King | 2018-11-28 | 1 | -1/+0 |
|\ | | | | | | | | | | | | | 3e60580784 clang-tidy: Fix readability-static-accessed-through-instance Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2647 | ||||
| * | clang-tidy: Fix readability-static-accessed-through-instance | Regina Pfeifer | 2018-11-21 | 1 | -1/+0 |
| | | | | | | | | Enable the check in .clang-tidy and fix all warnings. | ||||
* | | clang-tidy: Enable checks from bugprone set | Regina Pfeifer | 2018-11-21 | 1 | -0/+3 |
|/ | |||||
* | clang-tidy: fix warnings from version 7 | Regina Pfeifer | 2018-11-20 | 1 | -0/+3 |
| | | | | | Fix some warnings that are new since clang-tidy version 4, and update `.clang-tidy` to suppress the rest. | ||||
* | clang-tidy: restore 'misc-noexcept-move-constructor' | Brad King | 2018-09-26 | 1 | -1/+0 |
| | | | | | | We disabled this in commit 1fe0d72eb6 (clang-tidy: exclude 'misc-noexcept-move-constructor', 2018-09-24) due to false positives. Restore it and use a NOLINT comment to suppress them instead. | ||||
* | clang-tidy: exclude 'misc-noexcept-move-constructor' | Brad King | 2018-09-24 | 1 | -0/+1 |
| | | | | | Our installation is producing false positives on move constructors and assignment operators that are clearly marked `noexcept`. | ||||
* | clang-tidy: exclude 'modernize-use-noexcept' introduced in 5.0.0 | Brad King | 2017-09-28 | 1 | -0/+1 |
| | | | | | We still support compiling CMake on VS 2013 that does not support `noexcept`, so disable the clang-tidy diagnostic for now. | ||||
* | clang-tidy: exclude 'modernize-return-braced-init-list' introduced in 5.0.0 | Matthias Maennich | 2017-09-27 | 1 | -0/+1 |
| | | | | | | | Due to many occurrences and as I am not sure about the coding guide lines in regards to this, I blacklist it. Signed-off-by: Matthias Maennich <matthias@maennich.net> | ||||
* | Retire std::auto_ptr and its macro CM_AUTO_PTR | Matthias Maennich | 2017-09-25 | 1 | -1/+0 |
| | | | | Signed-off-by: Matthias Maennich <matthias@maennich.net> | ||||
* | Enable clang-tidy modernize-loop-convert lint | Brad King | 2017-09-19 | 1 | -1/+0 |
| | | | | | Fix remaining diagnostics by this lint and remove it from our list of disabled lints. | ||||
* | clang-tidy: blacklist "modernize" checks | Daniel Pfeifer | 2017-08-30 | 1 | -6/+13 |
| | |||||
* | Replace C-style casts | Daniel Pfeifer | 2017-08-27 | 1 | -0/+1 |
| | |||||
* | Use C++11 nullptr | Daniel Pfeifer | 2017-08-24 | 1 | -3/+0 |
| | |||||
* | clang-tidy: add option CMake_RUN_CLANG_TIDY | Daniel Pfeifer | 2017-05-04 | 1 | -0/+30 |