[cfe-commits] r157530 - /cfe/trunk/unittests/Tooling/RewriterTestContext.h

NAKAMURA Takumi geek4civic at gmail.com
Sun May 27 06:10:14 PDT 2012


Author: chapuni
Date: Sun May 27 08:10:14 2012
New Revision: 157530

URL: http://llvm.org/viewvc/llvm-project?rev=157530&view=rev
Log:
clang/unittests/Tooling/RewriterTestContext.h: Don't try to remove TemporaryDirectory.

Modified:
    cfe/trunk/unittests/Tooling/RewriterTestContext.h

Modified: cfe/trunk/unittests/Tooling/RewriterTestContext.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Tooling/RewriterTestContext.h?rev=157530&r1=157529&r2=157530&view=diff
==============================================================================
--- cfe/trunk/unittests/Tooling/RewriterTestContext.h (original)
+++ cfe/trunk/unittests/Tooling/RewriterTestContext.h Sun May 27 08:10:14 2012
@@ -43,11 +43,6 @@
   }
 
   ~RewriterTestContext() {
-    if (TemporaryDirectory.isValid()) {
-      std::string ErrorInfo;
-      TemporaryDirectory.eraseFromDisk(true, &ErrorInfo);
-      assert(ErrorInfo.empty());
-    }
   }
 
   FileID createInMemoryFile(StringRef Name, StringRef Content) {





More information about the cfe-commits mailing list