Commit Graph

5 Commits

Author SHA1 Message Date
Hamish Knight eb45f2396d Replace vfs::getRealFileSystem -> vfs::createPhysicalFileSystem
Calling `setCurrentWorkingDirectory` on `getRealFileSystem` sets the
working directory for the process itself. This is unsafe for clients
such as SourceKit which can process multiple concurrent requests,
and may be used as an in-process library in e.g sourcekit-lsp. Switch
to `createPhysicalFileSystem` instead, where setting the working
directory is done locally on the FileSystem itself.
2026-02-09 09:46:34 +00:00
Ben Barham efe1c97824 [Basic] Update moveFileIfDifferent tests to not rely on getUniqueID
These tests were relying on specifics of `getUniqueID` that aren't
necessarily true - namely that moving a file from `source` to `dest`
doesn't change the returned ID. They are really just testing
`moveFileIfDifferent`, which doesn't need to make this assumption.
2024-09-20 15:32:36 -07:00
Evan Wilde 0aafd09835 F_None was renamed OF_None
This patch updates usages of F_None to OF_None, as LLVM changed that in
commit 3302af9d4c39642bebe64dd60a3aa162fefc44b2.
2021-06-23 10:36:39 -07:00
practicalswift 3e40296cfa [gardening] Fix inconsistent headers 2017-02-13 15:21:52 +01:00
Michael Gottesman af61ed85a4 [gardening] Standardize ./unittests/Basic so that all tests have the Test.cpp suffix. 2017-02-09 21:50:57 -08:00