[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)
commitefe21088d76c091a29bc7990ef9cf502e1f1bf62
treeef4a788cc7fcf1e2f90c5315a23ab7e55279dc78
parentb88ebe8cc9a8585647fdbff14b92841582be50a9
[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

llvm-svn: 364986
llvm/include/llvm/Support/VirtualFileSystem.h
llvm/unittests/Support/VirtualFileSystemTest.cpp