mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 22:37:30 +08:00
clang-tidy: fix modernize-raw-string-literal
lints
This commit is contained in:
@@ -19,7 +19,7 @@ void cmWIXFeaturesSourceWriter::CreateCMakePackageRegistryEntry(
|
|||||||
AddAttribute("Guid", CreateGuidFromComponentId("CM_PACKAGE_REGISTRY"));
|
AddAttribute("Guid", CreateGuidFromComponentId("CM_PACKAGE_REGISTRY"));
|
||||||
|
|
||||||
std::string registryKey =
|
std::string registryKey =
|
||||||
cmStrCat("Software\\Kitware\\CMake\\Packages\\", package);
|
cmStrCat(R"(Software\Kitware\CMake\Packages\)", package);
|
||||||
|
|
||||||
BeginElement("RegistryValue");
|
BeginElement("RegistryValue");
|
||||||
AddAttribute("Root", "HKLM");
|
AddAttribute("Root", "HKLM");
|
||||||
|
@@ -144,7 +144,7 @@ std::string cmWIXSourceWriter::CreateGuidFromComponentId(
|
|||||||
|
|
||||||
void cmWIXSourceWriter::WriteXMLDeclaration()
|
void cmWIXSourceWriter::WriteXMLDeclaration()
|
||||||
{
|
{
|
||||||
File << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" << std::endl;
|
File << R"(<?xml version="1.0" encoding="UTF-8"?>)" << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
void cmWIXSourceWriter::Indent(size_t count)
|
void cmWIXSourceWriter::Indent(size_t count)
|
||||||
|
Reference in New Issue
Block a user