[PATCH] D48903: [VirtualFileSystem] InMemoryFileSystem::status: Return a Status with the requested name

Simon Marchi via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 9 11:52:42 PDT 2018


simark updated this revision to Diff 154662.
simark added a comment.

- Change InMemoryNode::getName to InMemoryNode::getFileName, to reduce the risk

of mis-using it.  Make the Stat field protected, make the subclasses' toString
access it directly.


Repository:
  rC Clang

https://reviews.llvm.org/D48903

Files:
  lib/Basic/FileManager.cpp
  lib/Basic/VirtualFileSystem.cpp
  unittests/Basic/VirtualFileSystemTest.cpp
  unittests/Driver/ToolChainTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48903.154662.patch
Type: text/x-patch
Size: 8661 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180709/11e5e852/attachment-0001.bin>


More information about the cfe-commits mailing list