================
@@ -127,6 +127,10 @@ class Interpreter {
/// An optional compiler instance for CUDA offloading
std::unique_ptr<CompilerInstance> DeviceCI;
+ /// This member is set when source file has been successfully created. It
+ /// will be used to gate 'ending' this file when the object is destroyed.
+ bool SourceFileCreated = false;
----------------
vgvassilev wrote:
Do we need a special flag to deduce that information?
https://github.com/llvm/llvm-project/pull/225861
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits