summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Win32/Path.inc
Commit message (Collapse)AuthorAgeFilesLines
* Fix bugs also fixed in Unix version, plus other general cleanup.Jeff Cohen2005-07-091-17/+61
| | | | llvm-svn: 22363
* Ensure that functions like isDirectory don't fail if the file doesn'tReid Spencer2005-07-081-0/+6
| | | | | | exist but just return false instead. llvm-svn: 22361
* Stamp out tabsJeff Cohen2005-07-081-19/+18
| | | | llvm-svn: 22357
* Make Win32 implementation conform to new paradigmJeff Cohen2005-07-081-48/+59
| | | | llvm-svn: 22356
* Final Changes For PR495:Reid Spencer2005-07-081-12/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | This chagne just renames some sys::Path methods to ensure they are not misused. The Path documentation now divides methods into two dimensions: Path/Disk and accessor/mutator. Path accessors and mutators only operate on the Path object itself without making any disk accesses. Disk accessors and mutators will also access or modify the file system. Because of the potentially destructive nature of disk mutators, it was decided that all such methods should end in the work "Disk" to ensure the user recognizes that the change will occur on the file system. This patch makes that change. The method name changes are: makeReadable -> makeReadableOnDisk makeWriteable -> makeWriteableOnDisk makeExecutable -> makeExecutableOnDisk setStatusInfo -> setStatusInfoOnDisk createDirectory -> createDirectoryOnDisk createFile -> createFileOnDisk createTemporaryFile -> createTemporaryFileOnDisk destroy -> eraseFromDisk rename -> renamePathOnDisk These changes pass the Linux Deja Gnu tests. llvm-svn: 22354
* Fix VC++ breakageJeff Cohen2005-07-081-8/+5
| | | | llvm-svn: 22353
* Changes to mimic those in Unix/Path.inc in support of PR495. This hasn'tReid Spencer2005-07-071-155/+94
| | | | | | been compiled or tested. llvm-svn: 22350
* For PR495:Reid Spencer2005-07-071-2/+8
| | | | | | | | | | | | | | | | | | | | | 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-6/+6
| | | | | | | | | | | 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
* Fix some Path bugsJeff Cohen2005-01-271-11/+24
| | | | llvm-svn: 19852
* Fix destroyDirectory bugJeff Cohen2005-01-221-5/+8
| | | | llvm-svn: 19746
* Fix and improve win32 path validation.Jeff Cohen2005-01-141-10/+22
| | | | llvm-svn: 19545
* Rename Unix/*.cpp and Win32/*.cpp to have a *.inc suffix so that the sillyReid Spencer2005-01-091-0/+756
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
OpenPOWER on IntegriCloud