Make VFS and FileManager match the current MemoryBuffer API.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 26 Oct 2014 22:44:13 +0000 (22:44 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 26 Oct 2014 22:44:13 +0000 (22:44 +0000)
commita885796d5fd85e4c7c71407feb48553ef7d4e258
tree91527c022eee45fa040d87d150e55b16c515c549
parent789d29df34169e21d40bd8581c303e1b3a29f6d2
Make VFS and FileManager match the current MemoryBuffer API.

This eliminates converting back and forth between the 3 formats and
gives us a more homogeneous interface.

llvm-svn: 220657
18 files changed:
clang/include/clang/Basic/FileManager.h
clang/include/clang/Basic/VirtualFileSystem.h
clang/lib/Basic/FileManager.cpp
clang/lib/Basic/FileSystemStatCache.cpp
clang/lib/Basic/SourceManager.cpp
clang/lib/Basic/VirtualFileSystem.cpp
clang/lib/CodeGen/CodeGenAction.cpp
clang/lib/Frontend/ASTUnit.cpp
clang/lib/Frontend/CompilerInstance.cpp
clang/lib/Frontend/FrontendActions.cpp
clang/lib/Frontend/SerializedDiagnosticReader.cpp
clang/lib/Lex/HeaderMap.cpp
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/GlobalModuleIndex.cpp
clang/lib/Serialization/ModuleManager.cpp
clang/unittests/Basic/VirtualFileSystemTest.cpp
clang/unittests/Tooling/RefactoringTest.cpp
clang/unittests/Tooling/RewriterTestContext.h