[PATCH] D40140: [VirtualFileSystem] Support creating directories then adding files inside
Benjamin Kramer via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 16 11:07:40 PST 2017
bkramer accepted this revision.
bkramer added a comment.
This revision is now accepted and ready to land.
lg
================
Comment at: lib/Basic/VirtualFileSystem.cpp:535
ResolvedPerms);
- Dir->addChild(Name, llvm::make_unique<detail::InMemoryFile>(
- std::move(Stat), std::move(Buffer)));
+ std::unique_ptr<detail::InMemoryNode> child;
+ if (ResolvedType == sys::fs::file_type::directory_file) {
----------------
Style: variables start with a capital letter.
https://reviews.llvm.org/D40140
More information about the cfe-commits
mailing list