summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2016-03-17 21:30:55 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2016-03-17 21:30:55 +0000
commit9e2f9d818fb1bb88b9170a61e4ed4196fa8c3562 (patch)
treee727cacfd2d544f1c983d3e0e5c701d13b4524b7 /clang/lib/Frontend/CompilerInvocation.cpp
parent6935c2d3227661bda111bdecae976a091b8307d8 (diff)
downloadbcm5719-llvm-9e2f9d818fb1bb88b9170a61e4ed4196fa8c3562.tar.gz
bcm5719-llvm-9e2f9d818fb1bb88b9170a61e4ed4196fa8c3562.zip
Revert "Reapply [VFS] Add 'overlay-relative' field to YAML files"
Tests failing on http://bb.pgr.jp/builders/cmake-clang-x86_64-linux/builds/46102 This reverts commit a1683cd6c9e07359c09f86e98a4db6b4e1bc51fc. llvm-svn: 263750
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index a09b2d1ed44..fe0ee97a2c8 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -2378,8 +2378,8 @@ createVFSFromCompilerInvocation(const CompilerInvocation &CI,
return IntrusiveRefCntPtr<vfs::FileSystem>();
}
- IntrusiveRefCntPtr<vfs::FileSystem> FS = vfs::getVFSFromYAML(
- std::move(Buffer.get()), /*DiagHandler*/ nullptr, File);
+ IntrusiveRefCntPtr<vfs::FileSystem> FS =
+ vfs::getVFSFromYAML(std::move(Buffer.get()), /*DiagHandler*/ nullptr);
if (!FS.get()) {
Diags.Report(diag::err_invalid_vfs_overlay) << File;
return IntrusiveRefCntPtr<vfs::FileSystem>();
OpenPOWER on IntegriCloud