aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-05-27 13:10:14 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-05-27 13:10:14 +0000
commit4f85274e5447e3b1f71c2750304b5f1af11bc96b (patch)
tree31ac2bd3bcfa60209fecd02bd64cd376990a2ecb
parent2d9c4dfad1f58c42a31721054cd99218d9ac3d52 (diff)
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
-rw-r--r--unittests/Tooling/RewriterTestContext.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/unittests/Tooling/RewriterTestContext.h b/unittests/Tooling/RewriterTestContext.h
index eecb1d0cb8..edcf77c22f 100644
--- a/unittests/Tooling/RewriterTestContext.h
+++ b/unittests/Tooling/RewriterTestContext.h
@@ -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) {