aboutsummaryrefslogtreecommitdiff
path: root/lib/System/Path.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-09-11 04:59:30 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-09-11 04:59:30 +0000
commitcbad701d0b6fd42112e121e2d7af9c70aaee7440 (patch)
tree28df4a540a1096118994fdbc25d07a2d95779c04 /lib/System/Path.cpp
parent41b21bf2fcd87578a5baa6823b7e5e5ae75089c6 (diff)
Provide initial implementations of Memory and Process concepts for various
platforms. Implement GetLLVMSuffix function for the Path concept. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16292 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Path.cpp')
-rw-r--r--lib/System/Path.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/System/Path.cpp b/lib/System/Path.cpp
index fd7fd4f665..ace8505d61 100644
--- a/lib/System/Path.cpp
+++ b/lib/System/Path.cpp
@@ -21,16 +21,6 @@ using namespace sys;
//=== independent code.
//===----------------------------------------------------------------------===//
-bool
-Path::is_file() const {
- return (is_valid() && path[path.length()-1] != '/');
-}
-
-bool
-Path::is_directory() const {
- return (is_valid() && path[path.length()-1] == '/');
-}
-
}
// Include the truly platform-specific parts of this class.