summaryrefslogtreecommitdiffstats
path: root/.clang-tidy
Commit message (Collapse)AuthorAgeFilesLines
* clang-tidy: fix `readability-use-anyofallof` warningsBen Boeckel2021-01-271-1/+0
|
* clang-tidy: fix `readability-simplify-boolean-expr` warningsBen Boeckel2021-01-271-1/+0
|
* clang-tidy: fix `readability-redundant-string-init` warningsBen Boeckel2021-01-271-1/+0
|
* clang-tidy: fix `readability-redundant-access-specifiers` warningsBen Boeckel2021-01-271-1/+0
|
* clang-tidy: fix `readability-qualified-auto` warningsBen Boeckel2021-01-271-1/+0
|
* clang-tidy: fix `readability-make-member-function-const` warningsBen Boeckel2021-01-271-1/+0
|
* clang-tidy: fix `performance-trivially-destructible` warningsBen Boeckel2021-01-271-1/+0
|
* clang-tidy: fix `performance-no-automatic-move` warningsBen Boeckel2021-01-271-1/+0
|
* clang-tidy: fix `bugprone-suspicious-include` warningsBen Boeckel2021-01-271-1/+0
|
* clang-tidy: fix `bugprone-signed-char-misuse` warningsBen Boeckel2021-01-271-1/+0
|
* clang-tidy: fix `bugprone-reserved-identifier` warningsBen Boeckel2021-01-271-1/+0
|
* clang-tidy: ignore new warnings from newer versionsBen Boeckel2020-11-121-0/+11
| | | | These warnings can be fixed in the future, but are ignored for now.
* clang-tidy: ignore `misc-no-recursion`Ben Boeckel2020-11-121-0/+1
| | | | | CMake has intentional recursion in its codebase, so avoid warning about occurrences.
* clang-tidy: ignore making members staticBen Boeckel2020-04-131-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 lintBen Boeckel2020-04-131-0/+1
| | | | CMake isn't ready for this yet.
* clang-tidy: modernize-deprecated-headersRegina Pfeifer2019-09-161-1/+0
|
* clang-tidy: modernize-use-autoRegina Pfeifer2019-09-101-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 King2019-09-101-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-listRegina Pfeifer2019-09-061-1/+0
| |
* | clang-tidy: Remove old entries from blacklistRegina Pfeifer2019-09-061-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-usingRegina Pfeifer2019-09-041-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 readabilityRegina Pfeifer2019-08-201-1/+0
|
* clang-tidy: Enable performance-inefficient-string-concatenationSebastian Holtermann2019-08-051-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 8Regina Pfeifer2019-07-301-0/+8
| | | | | Check the codebase with clang-tidy version 8, fix the low hanging fruits, blacklist the rest.
* Merge topic 'tidy-fixes'Brad King2019-04-081-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-tidyJakub Kalinski2019-04-021-1/+0
| |
* | Modernize: Enable modernize-raw-string-literal in clang-tidyArtur Ryt2019-04-021-1/+0
|/
* Merge topic 'tidy-use-equals-default-fix'Brad King2019-01-311-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 warningRegina Pfeifer2019-01-301-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 Pfeifer2019-01-291-1/+0
|/
* clang-tidy: Use `= default`Regina Pfeifer2019-01-251-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 valueRegina Pfeifer2019-01-221-1/+0
|
* clang-tidy: Use emplaceRegina Pfeifer2019-01-171-1/+0
|
* clang-tidy: Simplify boolean expressionsRegina Pfeifer2019-01-151-1/+0
|
* clang-tidy: Use default member initializationRegina Pfeifer2018-12-151-1/+3
|
* clang-tidy: Remove redundant member initializationsRegina Pfeifer2018-12-151-1/+0
|
* Merge topic 'readability-static-accessed-through-instance'Brad King2018-11-281-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-instanceRegina Pfeifer2018-11-211-1/+0
| | | | | | | | Enable the check in .clang-tidy and fix all warnings.
* | clang-tidy: Enable checks from bugprone setRegina Pfeifer2018-11-211-0/+3
|/
* clang-tidy: fix warnings from version 7Regina Pfeifer2018-11-201-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 King2018-09-261-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 King2018-09-241-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.0Brad King2017-09-281-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.0Matthias Maennich2017-09-271-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_PTRMatthias Maennich2017-09-251-1/+0
| | | | Signed-off-by: Matthias Maennich <matthias@maennich.net>
* Enable clang-tidy modernize-loop-convert lintBrad King2017-09-191-1/+0
| | | | | Fix remaining diagnostics by this lint and remove it from our list of disabled lints.
* clang-tidy: blacklist "modernize" checksDaniel Pfeifer2017-08-301-6/+13
|
* Replace C-style castsDaniel Pfeifer2017-08-271-0/+1
|
* Use C++11 nullptrDaniel Pfeifer2017-08-241-3/+0
|
* clang-tidy: add option CMake_RUN_CLANG_TIDYDaniel Pfeifer2017-05-041-0/+30