clang/unittests/Tooling/RewriterTestContext.h: Don't try to remove TemporaryDirectory.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 27 May 2012 13:10:14 +0000 (13:10 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 27 May 2012 13:10:14 +0000 (13:10 +0000)
llvm-svn: 157530

clang/unittests/Tooling/RewriterTestContext.h

index eecb1d0..edcf77c 100644 (file)
@@ -43,11 +43,6 @@ class RewriterTestContext {
   }
 
   ~RewriterTestContext() {
-    if (TemporaryDirectory.isValid()) {
-      std::string ErrorInfo;
-      TemporaryDirectory.eraseFromDisk(true, &ErrorInfo);
-      assert(ErrorInfo.empty());
-    }
   }
 
   FileID createInMemoryFile(StringRef Name, StringRef Content) {