summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
diff options
context:
space:
mode:
authorClemens Wasser <clemens.wasser@gmail.com>2022-01-25 20:39:49 (GMT)
committerClemens Wasser <clemens.wasser@gmail.com>2022-01-25 20:39:49 (GMT)
commit5c3f188beffb972571a011478ad5a28e89a186a3 (patch)
treeea3aea90fe5c78ab360251b0b37aef186d9db2c3 /Source/cmGlobalNinjaGenerator.h
parent850bdc4203f4599fceaed2ae9ba21c53e71fd0fb (diff)
downloadCMake-5c3f188beffb972571a011478ad5a28e89a186a3.zip
CMake-5c3f188beffb972571a011478ad5a28e89a186a3.tar.gz
CMake-5c3f188beffb972571a011478ad5a28e89a186a3.tar.bz2
GlobalNinjaGenerator: Add EncodeLiteralInplace which doesn't copy
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r--Source/cmGlobalNinjaGenerator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h
index 84fc06c..ac66944 100644
--- a/Source/cmGlobalNinjaGenerator.h
+++ b/Source/cmGlobalNinjaGenerator.h
@@ -77,6 +77,7 @@ public:
static std::string EncodeRuleName(std::string const& name);
std::string EncodeLiteral(const std::string& lit);
+ void EncodeLiteralInplace(std::string& lit);
std::string EncodePath(const std::string& path);
std::unique_ptr<cmLinkLineComputer> CreateLinkLineComputer(