forked from OSchip/llvm-project
[clang][deps] NFC: Remove else after early return
This commit is contained in:
parent
eafbaca977
commit
d8a3538788
|
@ -191,8 +191,7 @@ DependencyScanningWorkerFilesystem::getOrCreateFileSystemEntry(
|
|||
// files before building them, and then looks for them again. If we
|
||||
// cache the stat failure, it won't see them the second time.
|
||||
return MaybeStatus.getError();
|
||||
else
|
||||
CacheEntry = CachedFileSystemEntry(MaybeStatus.getError());
|
||||
CacheEntry = CachedFileSystemEntry(MaybeStatus.getError());
|
||||
} else if (MaybeStatus->isDirectory())
|
||||
CacheEntry = CachedFileSystemEntry::createDirectoryEntry(
|
||||
std::move(*MaybeStatus));
|
||||
|
|
Loading…
Reference in New Issue