summaryrefslogtreecommitdiffstats
path: root/Source/cmStringAlgorithms.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-08-08 11:33:58 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-08-09 10:20:50 (GMT)
commit27090096ef3dc572515c23e2ec92e5ee19432950 (patch)
tree2cee785fef19832b0f69c64256845d800dee4d4a /Source/cmStringAlgorithms.h
parent242435a9c891bda62880b77d6d612a8975f11059 (diff)
downloadCMake-27090096ef3dc572515c23e2ec92e5ee19432950.zip
CMake-27090096ef3dc572515c23e2ec92e5ee19432950.tar.gz
CMake-27090096ef3dc572515c23e2ec92e5ee19432950.tar.bz2
cmStringAlgorithms: Add cmRemoveQuotes
- Add `cmRemoveQuotes` function to cmStringAlgorithms - Remove unused removeQuotes inline functions
Diffstat (limited to 'Source/cmStringAlgorithms.h')
-rw-r--r--Source/cmStringAlgorithms.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmStringAlgorithms.h b/Source/cmStringAlgorithms.h
index 1898649..44b01b8 100644
--- a/Source/cmStringAlgorithms.h
+++ b/Source/cmStringAlgorithms.h
@@ -41,6 +41,9 @@ inline bool cmIsSpace(char ch)
/** Returns a string that has whitespace removed from the start and the end. */
std::string cmTrimWhitespace(cm::string_view str);
+/** Returns a string that has quotes removed from the start and the end. */
+std::string cmRemoveQuotes(cm::string_view str);
+
/** Escape quotes in a string. */
std::string cmEscapeQuotes(cm::string_view str);