diff options
Diffstat (limited to 'llvm/lib/Support/Unix/Program.inc')
-rw-r--r-- | llvm/lib/Support/Unix/Program.inc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/Support/Unix/Program.inc b/llvm/lib/Support/Unix/Program.inc index b113998..8f41fc0 100644 --- a/llvm/lib/Support/Unix/Program.inc +++ b/llvm/lib/Support/Unix/Program.inc @@ -15,6 +15,8 @@ //=== is guaranteed to work on *all* UNIX variants. //===----------------------------------------------------------------------===// +#include "llvm/Support/Program.h" + #include "Unix.h" #include "llvm/ADT/StringExtras.h" #include "llvm/Config/config.h" @@ -59,8 +61,7 @@ #endif #endif -namespace llvm { - +using namespace llvm; using namespace sys; ProcessInfo::ProcessInfo() : Pid(0), ReturnCode(0) {} @@ -161,8 +162,6 @@ static void SetMemoryLimits(unsigned size) { #endif } -} - static std::vector<const char *> toNullTerminatedCStringArray(ArrayRef<StringRef> Strings, StringSaver &Saver) { std::vector<const char *> Result; |