summaryrefslogtreecommitdiffstats
path: root/.clang-tidy
Commit message (Collapse)AuthorAgeFilesLines
* clang-tidy: ignore warnings new in version 17Brad King2023-11-171-0/+8
| | | | These warnings can be fixed in the future. Ignore them for now.
* clang-tidy: ignore warnings new in version 16Brad King2023-05-221-0/+1
| | | | These warnings can be fixed in the future. Ignore them for now.
* clang-tidy: disable string concatenation checkKyle Edwards2022-11-281-0/+1
|
* clang-tidy: ignore warnings new in versions 14 and 15Brad King2022-11-171-0/+9
| | | | These warnings can be fixed in the future. Ignore them for now.
* clang-tidy: disable ostringstream checkKyle Edwards2022-11-141-0/+1
| | | | CMake is not remotely ready for this yet...
* clang-tidy: disable bespoke enum class checkKyle Edwards2022-11-071-0/+1
| | | | CMake is not remotely ready for this yet...
* clang-tidy: enable cmStrLen() check and fix violationsKyle Edwards2022-10-191-0/+1
|
* clang-tidy: suppress `google-readability-casting` lintBen Boeckel2022-05-241-1/+0
| | | | It now complains about some things that are very pedantic.
* clang-tidy: suppress new `readability-identifier-length` lintBen Boeckel2022-05-241-0/+1
| | | | | CMake uses short names all over the place; 3 character minimums is excessive.
* clang-tidy: ignore warnings new in version 13Brad King2022-02-011-0/+5
| | | | These warnings can be fixed in the future. Ignore them for now.
* clang-tidy: ignore `readability-function-cognitive-complexity`Brad King2021-05-111-0/+1
|
* 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
|/