Provide initial implementations of Memory and Process concepts for various
platforms. Implement GetLLVMSuffix function for the Path concept. llvm-svn: 16292
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user