summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Path.cpp
Commit message (Collapse)AuthorAgeFilesLines
* For PR495:Reid Spencer2005-07-071-3/+3
| | | | | | | | | | | | | | | | | | | | | Get rid of the difference between file paths and directory paths. The Path class now simply stores a path that can refer to either a file or a directory. This required various changes in the implementation and interface of the class with the corresponding impact to its users. Doxygen comments were also updated to reflect these changes. Interface changes are: appendDirectory -> appendComponent appendFile -> appendComponent elideDirectory -> eraseComponent elideFile -> eraseComponent elideSuffix -> eraseSuffix renameFile -> rename setDirectory -> set setFile -> set Changes pass Dejagnu and llvm-test/SingleSource tests. llvm-svn: 22349
* For PR495:Reid Spencer2005-07-071-2/+2
| | | | | | | | | | | Change interface to Path class: readable -> canRead writable -> canWrite executable -> canExecute More (incremental) changes coming to close 495. llvm-svn: 22345
* Remove vim settings from source code; people should use llvm/utils/vim/vimrcMisha Brukman2005-05-051-1/+0
| | | | llvm-svn: 21704
* Remove trailing whitespaceMisha Brukman2005-04-211-6/+6
| | | | llvm-svn: 21422
* Rename Unix/*.cpp and Win32/*.cpp to have a *.inc suffix so that the sillyReid Spencer2005-01-091-2/+2
| | | | | | | gdb debugger doesn't get confused on which file it is reading (the one in lib/System or the one in lib/System/{Win32,Unix}) llvm-svn: 19426
* For PR351:Reid Spencer2004-12-241-1/+7
| | | | | | | Use the LLVM_ON_UNIX and LLVM_ON_WIN32 #defines to include the implementation instead of relying upon the "platform" link llvm-svn: 19132
* Fix VC++ compilation errorsJeff Cohen2004-12-151-0/+2
| | | | llvm-svn: 18953
* For PR351:Reid Spencer2004-12-151-0/+8
| | | | | | | | | * Fix implementation and documentation about LLVMGCCDIR/bytecode-libs * Add the makeUnique method, replacement for getUniqueFilename in Support. * Add the sys::CopyFile function, replacement for CopyFile in Support. * Move GetLLVMConfigDir() into generic code area since its generic. llvm-svn: 18947
* Genericize implementation of GetDLLSuffix now that we have LTDL_SHLIB_EXTReid Spencer2004-12-131-0/+6
| | | | | | available. llvm-svn: 18904
* For PR351: \Reid Spencer2004-12-131-0/+31
| | | | | | | | * Move generic isArchive method here from Unix/Path.cpp \ * Implement isDynamicLibrary \ * Implement FindLibrary for Linker llvm-svn: 18861
* Make sure IdentifyFileType is in the sys namespace.Reid Spencer2004-11-141-1/+1
| | | | llvm-svn: 17806
* Add missing include.Alkis Evlogimenos2004-11-141-0/+1
| | | | llvm-svn: 17799
* Implement IdentifyFileType functionReid Spencer2004-11-141-0/+27
| | | | llvm-svn: 17776
* Provide initial implementations of Memory and Process concepts for variousReid Spencer2004-09-111-10/+0
| | | | | | | platforms. Implement GetLLVMSuffix function for the Path concept. llvm-svn: 16292
* Correct the vim: specificationReid Spencer2004-08-291-1/+1
| | | | llvm-svn: 16087
* Revise the design of the Path concept per peer review. Too many changes toReid Spencer2004-08-291-28/+7
| | | | | | | | 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/+60
| | | | llvm-svn: 16048
* Remove lib/System contents until a satisfactory solution can beReid Spencer2004-08-161-90/+0
| | | | | | provided. llvm-svn: 15816
* Initial implementations of the ErrorCode and Path concepts for Linux.Reid Spencer2004-08-151-0/+90
llvm-svn: 15763
OpenPOWER on IntegriCloud