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)
commit73466400b2dcba1d67a2538684c55907221ade7a
treec444e8a873985b04a73dee0971a6c328548415bf
parent15fe7a530d352aecea65f952e6b321635b4fe2a8
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.

llvm-svn: 213028
clang/lib/Basic/VirtualFileSystem.cpp
clang/unittests/libclang/LibclangTest.cpp