From ddee9b46917d10e7d854011d275b77ad41693726 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 12 Jun 2013 13:59:17 +0000 Subject: Remove Path::createFileOnDisk. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183827 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/PathV1.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'include/llvm/Support/PathV1.h') diff --git a/include/llvm/Support/PathV1.h b/include/llvm/Support/PathV1.h index 4d6064ac01..bc15cd3beb 100644 --- a/include/llvm/Support/PathV1.h +++ b/include/llvm/Support/PathV1.h @@ -458,17 +458,6 @@ namespace sys { std::string* ErrMsg = 0 ///< Optional place to put error messages. ); - /// This method attempts to create a file in the file system with the same - /// name as the Path object. The intermediate directories must all exist - /// at the time this method is called. Use createDirectoriesOnDisk to - /// accomplish that. The created file will be empty upon return from this - /// function. - /// @returns true if the file could not be created, false otherwise. - /// @brief Create the file this Path refers to. - bool createFileOnDisk( - std::string* ErrMsg = 0 ///< Optional place to put error messages. - ); - /// This is like createFile except that it creates a temporary file. A /// unique temporary file name is generated based on the contents of /// \p this before the call. The new name is assigned to \p this and the -- cgit v1.2.3