File tree 1 file changed +5
-0
lines changed
interpreter/CppInterOp/include/clang/Interpreter
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 15
15
#include < set>
16
16
#include < string>
17
17
#include < vector>
18
+ #include < iostream>
18
19
19
20
// The cross-platform CPPINTEROP_API macro definition
20
21
#if defined _WIN32 || defined __CYGWIN__
@@ -164,6 +165,8 @@ namespace Cpp {
164
165
ReportInvokeStart (result, args, self);
165
166
#endif // NDEBUG
166
167
m_GenericCall (self, args.m_ArgSize , args.m_Args , result);
168
+ std::cout.flush ();
169
+ ::fflush (stdout);
167
170
}
168
171
// / Makes a call to a destructor.
169
172
// /\param[in] object - the pointer of the object whose destructor we call.
@@ -179,6 +182,8 @@ namespace Cpp {
179
182
ReportInvokeStart (object, nary, withFree);
180
183
#endif // NDEBUG
181
184
m_DestructorCall (object, nary, withFree);
185
+ std::cout.flush ();
186
+ ::fflush (stdout);
182
187
}
183
188
};
184
189
You can’t perform that action at this time.
0 commit comments