diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-22 19:42:31 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-29 17:39:45 (GMT) |
commit | 362d6cd234dd8e83577bb72dcbe22949aa9253bf (patch) | |
tree | 0e1e97296748e6c755513e342e6937fe719cceee /Source/cmGlobalVisualStudio7Generator.cxx | |
parent | d64adb9267213c0031b376633b70707ddcfc9ba6 (diff) | |
download | CMake-362d6cd234dd8e83577bb72dcbe22949aa9253bf.zip CMake-362d6cd234dd8e83577bb72dcbe22949aa9253bf.tar.gz CMake-362d6cd234dd8e83577bb72dcbe22949aa9253bf.tar.bz2 |
clang-tidy: fix `modernize-raw-string-literal` lints
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index d6eceb1..a6e8240 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -169,7 +169,7 @@ std::string cmGlobalVisualStudio7Generator::FindDevEnvCommand() // Search where VS15Preview places it. vskey = cmStrCat( - "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\SxS\\VS7;", + R"(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\SxS\VS7;)", this->GetIDEVersion()); if (cmSystemTools::ReadRegistryValue(vskey, vscmd, cmSystemTools::KeyWOW64_32)) { @@ -614,7 +614,7 @@ std::string cmGlobalVisualStudio7Generator::WriteUtilityDepend( /* clang-format off */ fout << - "<?xml version=\"1.0\" encoding = \"" + R"(<?xml version="1.0" encoding = ")" << this->Encoding() << "\"?>\n" "<VisualStudioProject\n" "\tProjectType=\"Visual C++\"\n" |