diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-11-05 22:51:30 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-11-05 22:51:30 (GMT) |
commit | 1e994985d83b09d71b4928a61a75d1cf3861aaec (patch) | |
tree | eba01b98a5d809c2e91c81b69d3775c39654c437 /Source/cmGlobalNinjaGenerator.cxx | |
parent | 5ae3966d75593b05a9658af8d2fdd47c2bf48a4d (diff) | |
download | CMake-1e994985d83b09d71b4928a61a75d1cf3861aaec.zip CMake-1e994985d83b09d71b4928a61a75d1cf3861aaec.tar.gz CMake-1e994985d83b09d71b4928a61a75d1cf3861aaec.tar.bz2 |
cmGlobalNinjaGenerator: Suppress clang-tidy warning
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.cxx')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx index 830ab7f..22de7c4 100644 --- a/Source/cmGlobalNinjaGenerator.cxx +++ b/Source/cmGlobalNinjaGenerator.cxx @@ -130,7 +130,7 @@ std::string cmGlobalNinjaGenerator::EncodeLiteral(const std::string& lit) std::string cmGlobalNinjaGenerator::EncodePath(const std::string& path) { - std::string result = path; + std::string result = path; // NOLINT(clang-tidy) #ifdef _WIN32 if (this->IsGCCOnWindows()) std::replace(result.begin(), result.end(), '\\', '/'); @@ -283,7 +283,7 @@ void cmGlobalNinjaGenerator::WriteCustomCommandBuild( bool restat, const cmNinjaDeps& outputs, const cmNinjaDeps& deps, const cmNinjaDeps& orderOnly) { - std::string cmd = command; + std::string cmd = command; // NOLINT(clang-tidy) #ifdef _WIN32 if (cmd.empty()) // TODO Shouldn't an empty command be handled by ninja? |