VirtualFileSystem: Add YAMLVFSWriter to generate VFS mapping files
authorJustin Bogner <mail@justinbogner.com>
Tue, 20 May 2014 21:43:27 +0000 (21:43 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 20 May 2014 21:43:27 +0000 (21:43 +0000)
commit9c785294fb4777283e2a5d291a07b5f0e349a415
tree51ce017b7ada8b7162dae15c39e6d4f0cc8803be
parent93ef46b02a357cd3669ad0a0e5a2f579a4601cfe
VirtualFileSystem: Add YAMLVFSWriter to generate VFS mapping files

This moves the logic to write a JSON VFS mapping from the C api into
VirtualFileSystem, so that we can use it internally.

No functional change.

llvm-svn: 209241
clang/include/clang/Basic/VirtualFileSystem.h
clang/lib/Basic/VirtualFileSystem.cpp
clang/tools/libclang/BuildSystem.cpp