diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-07-30 10:38:24 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-07-30 10:38:30 (GMT) |
commit | 4af094c8dfa8dd5bfb943a84e5f4c00f7bf2ee8f (patch) | |
tree | 6c34e88cf1b2a6fde07c07508883fc1d8feff83e /Source/cmake.cxx | |
parent | 473f288e9703ad49e6be8f3fc8639e0bbb79cc9b (diff) | |
download | CMake-4af094c8dfa8dd5bfb943a84e5f4c00f7bf2ee8f.zip CMake-4af094c8dfa8dd5bfb943a84e5f4c00f7bf2ee8f.tar.gz CMake-4af094c8dfa8dd5bfb943a84e5f4c00f7bf2ee8f.tar.bz2 |
clang-tidy: Blacklist violations for version 8
Check the codebase with clang-tidy version 8, fix the low hanging
fruits, blacklist the rest.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 7250e51..eb57947 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -619,7 +619,7 @@ void cmake::LoadEnvironmentPresets() this->EnvironmentGenerator = envGenVar; } - auto readGeneratorVar = [&](std::string name, std::string& key) { + auto readGeneratorVar = [&](std::string const& name, std::string& key) { std::string varValue; if (cmSystemTools::GetEnv(name, varValue)) { if (hasEnvironmentGenerator) { |