1 //===- llvm/System/Darwin/Path.cpp - Linux Path Implementation --*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file was developed by Reid Spencer and is distributed under the
6 // University of Illinois Open Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file provides the Darwin specific implementation of the Path class.
12 //===----------------------------------------------------------------------===//
14 //===----------------------------------------------------------------------===//
15 //=== WARNING: Implementation here must contain only Darwin specific code
16 //=== and must not be generic UNIX code (see ../Unix/Path.cpp)
17 //===----------------------------------------------------------------------===//
19 // Include the generic unix implementation
20 #include "../Unix/Path.cpp"
26 Path::is_valid() const {
29 if (path.length() >= MAXPATHLEN)
36 // vim: sw=2 smartindent smarttab tw=80 autoindent expandtab