diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-12 20:58:35 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-06-12 20:58:35 +0000 |
commit | 9f1d9fd1964d82f3e801efb71518144492cdf290 (patch) | |
tree | fb6a689c0275a2c77086b695db3b5065ce454bf2 /lib/Support/DataStream.cpp | |
parent | 7e17024400941889b6fe1b178e5374f75c34d9ab (diff) | |
download | llvm-9f1d9fd1964d82f3e801efb71518144492cdf290.tar.gz llvm-9f1d9fd1964d82f3e801efb71518144492cdf290.tar.bz2 llvm-9f1d9fd1964d82f3e801efb71518144492cdf290.tar.xz |
Remove the program class.
It was only used to implement ExecuteAndWait and ExecuteNoWait. Expose just
those two functions and make Execute and Wait implementations details.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183864 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/DataStream.cpp')
-rw-r--r-- | lib/Support/DataStream.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/DataStream.cpp b/lib/Support/DataStream.cpp index 0a02281c25..7815d08092 100644 --- a/lib/Support/DataStream.cpp +++ b/lib/Support/DataStream.cpp @@ -66,7 +66,7 @@ public: error_code OpenFile(const std::string &Filename) { if (Filename == "-") { Fd = 0; - sys::Program::ChangeStdinToBinary(); + sys::ChangeStdinToBinary(); return error_code::success(); } |