mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 05:10:10 -05:00
clang-tidy: fix performance-unnecessary-value-param lints
This commit is contained in:
@@ -200,7 +200,7 @@ struct cmVisualStudio10TargetGenerator::OptionsHelper
|
||||
}
|
||||
};
|
||||
|
||||
static std::string cmVS10EscapeComment(std::string comment)
|
||||
static std::string cmVS10EscapeComment(std::string const& comment)
|
||||
{
|
||||
// MSBuild takes the CDATA of a <Message></Message> element and just
|
||||
// does "echo $CDATA" with no escapes. We must encode the string.
|
||||
|
||||
Reference in New Issue
Block a user