This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Remove ScratchFS from tests
ClosedPublic

Authored by njames93 on Jan 9 2021, 4:45 AM.

Details

Summary

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

Diff Detail

Event Timeline

njames93 created this revision.Jan 9 2021, 4:45 AM
njames93 requested review of this revision.Jan 9 2021, 4:45 AM
njames93 updated this revision to Diff 315596.Jan 9 2021, 5:28 AM

Fix windows tests failing(hopefully).

adamcz accepted this revision.Jan 10 2021, 1:01 PM

Thanks, that's better than my hacky workaround!

This revision is now accepted and ready to land.Jan 10 2021, 1:01 PM
kadircet added inline comments.Jan 10 2021, 10:33 PM
clang-tools-extra/clangd/unittests/GlobalCompilationDatabaseTests.cpp
277

nit: extra semicolon

njames93 updated this revision to Diff 315735.Jan 11 2021, 2:08 AM

Remove extra semi-colon.

njames93 edited the summary of this revision. (Show Details)Jan 11 2021, 2:08 AM
sammccall accepted this revision.Jan 11 2021, 7:10 AM
This revision was automatically updated to reflect the committed changes.