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:
NAKAMURA Takumi 2017-05-27 08:06:52 +00:00
parent b8ff353fc6
commit 4455641ae0
1 changed files with 1 additions and 1 deletions

View File

@ -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());