mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-27 15:14:31 +00:00
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:
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;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user