forked from OSchip/llvm-project
clang/unittests/Tooling/RewriterTestContext.h: Don't try to remove TemporaryDirectory.
llvm-svn: 157530
This commit is contained in:
parent
b030e8a5c8
commit
42e5ac409c
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue