diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-09-11 04:59:30 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-09-11 04:59:30 +0000 |
commit | 566ac28f359d5fced04ec491cf67508715719984 (patch) | |
tree | ca3bff6d249def5e26f06cad8b9d2824d12beea2 /llvm/lib/System/Path.cpp | |
parent | 2896c95bca59cf2ca53fc532a8c6ab8a7d5e4752 (diff) | |
download | bcm5719-llvm-566ac28f359d5fced04ec491cf67508715719984.tar.gz bcm5719-llvm-566ac28f359d5fced04ec491cf67508715719984.zip |
Provide initial implementations of Memory and Process concepts for various
platforms.
Implement GetLLVMSuffix function for the Path concept.
llvm-svn: 16292
Diffstat (limited to 'llvm/lib/System/Path.cpp')
-rw-r--r-- | llvm/lib/System/Path.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
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. |