[PATCH] D121424: [VFS] Revert RedirectingFileSystem to having a single responsibility

Ben Barham via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 11 10:56:02 PST 2022


bnbarham updated this revision to Diff 414701.
bnbarham added a comment.

Noticed there's a ::assign on SmallVectorImpl, use that instead of clear + append.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121424/new/

https://reviews.llvm.org/D121424

Files:
  llvm/include/llvm/Support/VirtualFileSystem.h
  llvm/lib/Support/VirtualFileSystem.cpp
  llvm/unittests/Support/VirtualFileSystemTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121424.414701.patch
Type: text/x-patch
Size: 36289 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220311/19653a15/attachment-0001.bin>


More information about the llvm-commits mailing list