cmStrCat: use character literals where possible

Found and replaced using the `cmstrcat-to-char-literal` rule for
`ast-grep`.
This commit is contained in:
Ben Boeckel
2025-05-15 18:29:14 +02:00
parent 23779057fd
commit 557c44b93e
70 changed files with 196 additions and 198 deletions

View File

@@ -96,7 +96,7 @@ bool cmIncludeCommand(std::vector<std::string> const& args,
status.GetMakefile().IssueMessage(
MessageType::AUTHOR_WARNING,
cmStrCat(cmPolicies::GetPolicyWarning(ModulePolicy->second),
"\n"));
'\n'));
CM_FALLTHROUGH;
}
case cmPolicies::OLD: