From 566ac28f359d5fced04ec491cf67508715719984 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sat, 11 Sep 2004 04:59:30 +0000 Subject: Provide initial implementations of Memory and Process concepts for various platforms. Implement GetLLVMSuffix function for the Path concept. llvm-svn: 16292 --- llvm/lib/System/Path.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'llvm/lib/System/Path.cpp') diff --git a/llvm/lib/System/Path.cpp b/llvm/lib/System/Path.cpp index fd7fd4f665b..ace8505d613 100644 --- a/llvm/lib/System/Path.cpp +++ b/llvm/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. -- cgit v1.2.3