[PATCH] D30676: Add llvm::sys::fs::remove_directories()

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 6 20:58:34 PST 2017


zturner created this revision.

  We have create_directories() which can create an entire tree,
  and remove(), which can remove an empty directory, but not
  a remove_directories() which can remove an entire tree.
  
  This patch adds such a function.


https://reviews.llvm.org/D30676

Files:
  llvm/include/llvm/Support/FileSystem.h
  llvm/lib/Support/Path.cpp
  llvm/unittests/Support/Path.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30676.90789.patch
Type: text/x-patch
Size: 3723 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170307/71cb5d9e/attachment.bin>


More information about the llvm-commits mailing list