]> granicus.if.org Git - llvm/commit
[VFS] Add reverse iterator to OverlayFileSystem
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 3 Jul 2019 00:45:53 +0000 (00:45 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 3 Jul 2019 00:45:53 +0000 (00:45 +0000)
commit3dc9416c85f0f8a8ed48e2c95d53aac160eff7ab
tree97987f6a531b3bc4d54463b27637ab8166324b04
parent1e557ba1aceba8c23c792cbf997d50e1141e9018
[VFS] Add reverse iterator to OverlayFileSystem

Add a reverse iterator to the overlay file system. This makes it
possible to take overlays from one OverlayFileSystem, and add them to
another.

Differential revision: https://reviews.llvm.org/D64113

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364986 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/VirtualFileSystem.h
unittests/Support/VirtualFileSystemTest.cpp