Support/PathV2: Remove is_valid. It was only added because Path had it, but
authorMichael J. Spencer <bigcheesegs@gmail.com>
Wed, 1 Dec 2010 02:48:43 +0000 (02:48 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Wed, 1 Dec 2010 02:48:43 +0000 (02:48 +0000)
apparently it is unused.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120540 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/PathV2.h

index c3feca7acc5d1e2400eb4401e0810a662e56abf4..85314842dd258c517f232e0310f1c63d927f2341 100644 (file)
@@ -218,14 +218,6 @@ error_code current_path(SmallVectorImpl<char> &result);
 
 // The following are purely lexical.
 
-/// @brief Is the current path valid?
-///
-/// @param path Input path.
-/// @param result Set to true if the path is valid, false if it is not.
-/// @results errc::success if result has been successfully set, otherwise a
-///          platform specific error_code.
-error_code is_valid(const Twine &path, bool &result);
-
 /// @brief Get root name.
 ///
 /// //net/hello => //net