We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17b3b00 commit 0a71082Copy full SHA for 0a71082
lib/Frontend/CachingUtils.cpp
@@ -380,15 +380,6 @@ Expected<IntrusiveRefCntPtr<vfs::FileSystem>>
380
createCASFileSystem(ObjectStore &CAS, ArrayRef<std::string> FSRoots,
381
ArrayRef<std::string> IncludeTrees) {
382
assert(!FSRoots.empty() || !IncludeTrees.empty() && "no root ID provided");
383
- if (FSRoots.size() == 1 && IncludeTrees.empty()) {
384
- auto ID = CAS.parseID(FSRoots.front());
385
- if (!ID)
386
- return ID.takeError();
387
- auto Ref = CAS.getReference(*ID);
388
- if (!Ref)
389
- return createCASObjectNotFoundError(*ID);
390
- }
391
-
392
auto NewRoot = mergeCASFileSystem(CAS, FSRoots);
393
if (!NewRoot)
394
return NewRoot.takeError();
0 commit comments