From 7c8397081c3d101fe467e8375601b091056465e0 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 19 Jun 2013 15:32:37 +0000 Subject: Remove Path::getDirectoryContents. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184311 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/PathV1.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'include') diff --git a/include/llvm/Support/PathV1.h b/include/llvm/Support/PathV1.h index f4c0ef88cb..0ece0e6bcd 100644 --- a/include/llvm/Support/PathV1.h +++ b/include/llvm/Support/PathV1.h @@ -17,7 +17,6 @@ #include "llvm/ADT/StringRef.h" #include "llvm/Support/Compiler.h" #include "llvm/Support/TimeValue.h" -#include #include #include @@ -263,15 +262,6 @@ namespace sys { /// @brief Determines if the file is a regular file bool isRegularFile() const; - /// This function builds a list of paths that are the names of the - /// files and directories in a directory. - /// @returns true if an error occurs, true otherwise - /// @brief Build a list of directory's contents. - bool getDirectoryContents( - std::set &paths, ///< The resulting list of file & directory names - std::string* ErrMsg ///< Optional place to return an error message. - ) const; - /// @} /// @name Path Mutators /// @{ -- cgit v1.2.3