summaryrefslogtreecommitdiffstats
path: root/.clang-tidy
Commit message (Collapse)AuthorAgeFilesLines
* 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