OSDN Git Service

[clangd] Remove ScratchFS from tests
authorNathan James <n.james93@hotmail.co.uk>
Mon, 11 Jan 2021 16:14:26 +0000 (16:14 +0000)
committerNathan James <n.james93@hotmail.co.uk>
Mon, 11 Jan 2021 16:14:26 +0000 (16:14 +0000)
commit31732e6f52c8e5e722d3e4cca053db793dae3b8c
treed747d04b9ec1abb4d8fdb2dc715a17b752bce143
parent975170551283559ebe5052b6f83b2cc9e50132db
[clangd] Remove ScratchFS from tests

This can lead to issues if files in the tmp directory we don't care about / control are found.
This was partially addressed in D94321, but this is a more permanent fix.
Fixes https://github.com/clangd/clangd/issues/354

Reviewed By: adamcz, sammccall

Differential Revision: https://reviews.llvm.org/D94359
clang-tools-extra/clangd/unittests/GlobalCompilationDatabaseTests.cpp