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.
8 years ago
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>
8 years ago
Matthias Maennich
f0489856e3
Retire std::auto_ptr and its macro CM_AUTO_PTR
Signed-off-by: Matthias Maennich <matthias@maennich.net>
8 years ago
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.
8 years ago
Daniel Pfeifer
4022b28678
clang-tidy: blacklist "modernize" checks
8 years ago
Daniel Pfeifer
190e3825d4
Replace C-style casts
8 years ago
Daniel Pfeifer
5962db4389
Use C++11 nullptr
8 years ago
Daniel Pfeifer
d0c3e47d80
clang-tidy: add option CMake_RUN_CLANG_TIDY
8 years ago