forked from OSchip/llvm-project
ClangdTests.cpp: Fix a possible typo, it was "if (TmpDir2 != TmpDir2)"
It caused failures in unittests if TmpDir2 is not "/tmp" . llvm-svn: 304067
This commit is contained in:
parent
b8ff353fc6
commit
4455641ae0
|
@ -120,7 +120,7 @@ IntrusiveRefCntPtr<vfs::FileSystem> getTempOnlyFS() {
|
|||
|
||||
std::vector<std::string> TmpDirs;
|
||||
TmpDirs.push_back(TmpDir1.str());
|
||||
if (TmpDir2 != TmpDir2)
|
||||
if (TmpDir1 != TmpDir2)
|
||||
TmpDirs.push_back(TmpDir2.str());
|
||||
return new vfs::FilteredFileSystem(std::move(TmpDirs),
|
||||
vfs::getRealFileSystem());
|
||||
|
|
Loading…
Reference in New Issue