mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-21 03:05:26 -04:00
Revert "[Support] Expose flattenWindowsCommandLine."
This reverts commit 10d2e88e87150a35dc367ba30716189d2af26774. This is causing some test failures for some reason, reverting while I investigate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@334354 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user