[PATCH] D45686: [Driver] Clean up tmp files when deleting Compilation objects
    Roman Lebedev via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Fri May 25 03:48:30 PDT 2018
    
    
  
lebedev.ri added inline comments.
================
Comment at: include/clang/Driver/Compilation.h:126
+  /// Whether to save temporary files.
+  bool SaveTempsEnabled;
+
----------------
`KeepTempFiles`?
================
Comment at: lib/Driver/Compilation.cpp:276-277
+
+  // Temporary files added by diagnostics should be kept.
+  SaveTempsEnabled = true;
 }
----------------
Is there a test that breaks without this?
https://reviews.llvm.org/D45686
    
    
More information about the cfe-commits
mailing list