summaryrefslogtreecommitdiff
path: root/Source/cmOutputConverter.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-10-04 22:56:32 +0200
committerStephen Kelly <steveire@gmail.com>2016-10-06 20:02:09 +0200
commit1365e18b9b5ddfb5bc13da5bcdefeb566be12f08 (patch)
treeefb7b829b5062df6d9ea6ed5347fef41f797cc90 /Source/cmOutputConverter.h
parent1ed5f6b39b80ab337551f1fa9601b3257ddd4be7 (diff)
downloadcmake-1365e18b9b5ddfb5bc13da5bcdefeb566be12f08.tar.gz
Convert: Inline platform-specific methods
They don't provide real value.
Diffstat (limited to 'Source/cmOutputConverter.h')
-rw-r--r--Source/cmOutputConverter.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/Source/cmOutputConverter.h b/Source/cmOutputConverter.h
index 745686b260..787075ec60 100644
--- a/Source/cmOutputConverter.h
+++ b/Source/cmOutputConverter.h
@@ -33,8 +33,7 @@ public:
void SetLinkScriptShell(bool linkScriptShell);
/**
- * Flags to pass to Shell_GetArgumentForWindows or
- * Shell_GetArgumentForUnix. These modify the generated
+ * Flags to pass to Shell_GetArgument. These modify the generated
* quoting and escape sequences to work under alternative
* environments.
*/
@@ -70,16 +69,6 @@ public:
Shell_Flag_WatcomQuote = (1 << 7)
};
- /**
- * Transform the given command line argument for use in a Windows or
- * Unix shell. Returns a pointer to the end of the command line
- * argument in the provided output buffer. Flags may be passed to
- * modify the generated quoting and escape sequences to work under
- * alternative environments.
- */
- static std::string Shell_GetArgumentForWindows(const char* in, int flags);
- static std::string Shell_GetArgumentForUnix(const char* in, int flags);
-
std::string EscapeForShell(const std::string& str, bool makeVars = false,
bool forEcho = false,
bool useWatcomQuote = false) const;