summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Program.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2018-06-09 23:07:39 +0000
committerZachary Turner <zturner@google.com>2018-06-09 23:07:39 +0000
commit1fbca91c07975454d668926f535f36829616e2e2 (patch)
tree5d6cbdcca6b42edd6c6d31289e6a545fa760b854 /llvm/lib/Support/Program.cpp
parent48c3341cfe47b5c4d0dca8fac80bfcf1ecaefb88 (diff)
downloadbcm5719-llvm-1fbca91c07975454d668926f535f36829616e2e2.tar.gz
bcm5719-llvm-1fbca91c07975454d668926f535f36829616e2e2.zip
Revert "[Support] Expose flattenWindowsCommandLine."
This reverts commit 10d2e88e87150a35dc367ba30716189d2af26774. This is causing some test failures for some reason, reverting while I investigate. llvm-svn: 334354
Diffstat (limited to 'llvm/lib/Support/Program.cpp')
-rw-r--r--llvm/lib/Support/Program.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/Support/Program.cpp b/llvm/lib/Support/Program.cpp
index 8c56fb6db2d..8484b46e522 100644
--- a/llvm/lib/Support/Program.cpp
+++ b/llvm/lib/Support/Program.cpp
@@ -63,15 +63,6 @@ ProcessInfo sys::ExecuteNoWait(StringRef Program, const char **Args,
return PI;
}
-bool sys::commandLineFitsWithinSystemLimits(StringRef Program,
- ArrayRef<const char *> Args) {
- SmallVector<StringRef, 8> StringRefArgs;
- StringRefArgs.reserve(Args.size());
- for (const char *A : Args)
- StringRefArgs.emplace_back(A);
- return commandLineFitsWithinSystemLimits(Program, StringRefArgs);
-}
-
// Include the platform-specific parts of this class.
#ifdef LLVM_ON_UNIX
#include "Unix/Program.inc"
OpenPOWER on IntegriCloud