]> granicus.if.org Git - clang/commit
VirtualFileSystem: Correctly generate the mapping for an empty VFS
authorJustin Bogner <mail@justinbogner.com>
Tue, 15 Jul 2014 01:24:35 +0000 (01:24 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 15 Jul 2014 01:24:35 +0000 (01:24 +0000)
commit9e5a027d7977cd38db48462e754f44bebd752970
tree6642c768d1f41882c40496b952f354f84aaf9569
parenta1f3ec3553ce63007802e52bc05acd2e7d33c74f
VirtualFileSystem: Correctly generate the mapping for an empty VFS

In r209332 I accidentally broke generation of empty VFS maps. This
fixes the issue and adds a test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@213028 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/VirtualFileSystem.cpp
unittests/libclang/LibclangTest.cpp