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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user