Fix an issue where scripted commands would not actually print any of their output if an immediate output file was set in the result object via a Python file object

Fixes rdar://24130303

llvm-svn: 257644
This commit is contained in:
Enrico Granata committed 2016-01-13 18:11:45 +00:00
1 parent c5d29aa7c4
commit 744959b9c9
7 files changed
+82 -1

No files matched your search

@@ -525,6 +525,8 @@ class PythonFile : public PythonObject
void Reset(PyRefType type, PyObject *py_obj) override;
void Reset(File &file, const char *mode);
static uint32_t GetOptionsFromMode(llvm::StringRef mode);
bool GetUnderlyingFile(File &file) const;
};