clang/unittests/Tooling/RewriterTestContext.h: Don't try to remove TemporaryDirectory.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157530 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/unittests/Tooling/RewriterTestContext.h b/unittests/Tooling/RewriterTestContext.h
index eecb1d0..edcf77c 100644
--- a/unittests/Tooling/RewriterTestContext.h
+++ b/unittests/Tooling/RewriterTestContext.h
@@ -43,11 +43,6 @@
}
~RewriterTestContext() {
- if (TemporaryDirectory.isValid()) {
- std::string ErrorInfo;
- TemporaryDirectory.eraseFromDisk(true, &ErrorInfo);
- assert(ErrorInfo.empty());
- }
}
FileID createInMemoryFile(StringRef Name, StringRef Content) {