зеркало из https://github.com/microsoft/clang-1.git
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
This commit is contained in:
Родитель
2d9c4dfad1
Коммит
4f85274e54
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче