Brad King
7cf089fcbf
clang-tidy: exclude 'modernize-use-noexcept' introduced in 5.0.0
...
We still support compiling CMake on VS 2013 that does not support
`noexcept`, so disable the clang-tidy diagnostic for now.
2017-09-28 07:19:27 -04:00
Matthias Maennich
76c634c4ac
clang-tidy: exclude 'modernize-return-braced-init-list' introduced in 5.0.0
...
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>
2017-09-27 15:25:40 -04:00
Matthias Maennich
f0489856e3
Retire std::auto_ptr and its macro CM_AUTO_PTR
...
Signed-off-by: Matthias Maennich <matthias@maennich.net>
2017-09-26 00:07:19 +02:00
Brad King
706b37b7f5
Enable clang-tidy modernize-loop-convert lint
...
Fix remaining diagnostics by this lint and remove it from our list of
disabled lints.
2017-09-19 09:32:25 -04:00
Daniel Pfeifer
4022b28678
clang-tidy: blacklist "modernize" checks
2017-08-30 11:07:11 -04:00
Daniel Pfeifer
190e3825d4
Replace C-style casts
2017-08-27 09:58:46 +02:00
Daniel Pfeifer
5962db4389
Use C++11 nullptr
2017-08-24 23:39:47 +02:00
Daniel Pfeifer
d0c3e47d80
clang-tidy: add option CMake_RUN_CLANG_TIDY
2017-05-04 17:39:23 +02:00