[PATCH] D33416: [clangd] Allow to use vfs::FileSystem for file accesses.

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 23 06:40:38 PDT 2017


ilya-biryukov added inline comments.


================
Comment at: unittests/clangd/ClangdTests.cpp:118
+  llvm::SmallString<128> TmpDir2;
+  llvm::sys::path::system_temp_directory(/*erasedOnReboot=*/true, TmpDir2);
+
----------------
bkramer wrote:
> We should delete those when we're done, otherwise the unit test will litter /tmp on every run.
ASTUnit handles that, right?
It's only here to provide access to PCHs ASTUnit creates, we don't actually write to those dirs ourselves.


https://reviews.llvm.org/D33416





More information about the cfe-commits mailing list