summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Unix/Path.cpp
Commit message (Collapse)AuthorAgeFilesLines
* * Use low-level unix I/O interface since we're on Unix.Reid Spencer2004-11-161-7/+17
| | | | | | * Don't use variable length arrays (replaced with alloca) llvm-svn: 17901
* Per code review:Reid Spencer2004-11-161-7/+4
| | | | | | | | | | | * Clean up the StatusInfo constructor to construct all members and give them reasonable values. * Get rid of the Vector typedef and make the interface to getDirectoryContent use a std::set instead of a std::vector so the dir content is sorted. * Make the getStatusInfo method const and not return a useless boolean. llvm-svn: 17872
* Implement functionality suggested from code review: getStatusInfo shouldReid Spencer2004-11-141-1/+4
| | | | | | returnn false if the file doesn't exist rather than throw ane exception. llvm-svn: 17809
* * Implement getDirectoryContents * Implement getStatusInfo * Implement ↵Reid Spencer2004-11-141-7/+81
| | | | | | setStatusInfo * Implement renameFile llvm-svn: 17780
* * Implement getStatusInfo for getting stat(2) like informationReid Spencer2004-11-091-5/+39
| | | | | | | * Implement createTemporaryFile for mkstemp(3) functionality * Fix isBytecodeFile to accept llvc magic # (compressed) as bytecode. llvm-svn: 17654
* Stop propagating method names that violate the coding standardReid Spencer2004-11-051-55/+55
| | | | llvm-svn: 17498
* Get rid of file descriptor leak in create_file.Reid Spencer2004-09-181-1/+3
| | | | llvm-svn: 16395
* Allow "bc" as suffix for bytecode files.Reid Spencer2004-09-161-0/+8
| | | | llvm-svn: 16381
* Implement the GetLibraryPath function.Reid Spencer2004-09-141-0/+45
| | | | llvm-svn: 16323
* Implemented support for detecting file types by magic number, strippingReid Spencer2004-09-111-0/+48
| | | | | | path and suffix to leave basename, and getting the DLL suffix. llvm-svn: 16289
* Changes For Bug 352Reid Spencer2004-09-011-1/+1
| | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137
* Move the GetTemporaryDirectory function from "generic Unix" to platformReid Spencer2004-08-301-12/+0
| | | | | | specific. llvm-svn: 16119
* Revise the design of the Path concept per peer review. Too many changes toReid Spencer2004-08-291-86/+281
| | | | | | | | note individually but these essence of it is to not derive from std::string, clarify the interface, and provide better documentation. There is now also (untested) implementations for AIX, Darwin, and SunOS. llvm-svn: 16078
* Initial implementation of the Path operating system concept.Reid Spencer2004-08-251-0/+138
llvm-svn: 16048
OpenPOWER on IntegriCloud