[llvm-commits] [llvm] r89765 - in /llvm/trunk: include/llvm/System/Path.h lib/System/Unix/Path.inc lib/System/Win32/Path.inc

Duncan Sands baldrick at free.fr
Tue Nov 24 08:17:19 PST 2009


Hi,

> +      /// This function checks that what we're trying to work only on a regular file or Dir.

Dir -> directory

> +      /// Check for things like /dev/null, any block special file,
> +      /// or other things that aren't "regular" files.

files -> regular files or directories

> +bool
> +Path::isSpecialFile() const {
> +  return false;
> +}

Windows does have special files AFAIK, for example opening "nul"
gives the effect of /dev/null on unix systems.

Ciao,

Duncan.



More information about the llvm-commits mailing list