summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Win32/Path.inc
Commit message (Collapse)AuthorAgeFilesLines
...
* pull some win32 code into common code, add bitcode identification support.Chris Lattner2007-05-061-15/+0
| | | | llvm-svn: 36846
* Unbreak VC++ build.Jeff Cohen2007-04-071-28/+25
| | | | llvm-svn: 35751
* For PR1291:Reid Spencer2007-04-071-16/+14
| | | | | | Implement the PathWithStatus class and its use throughout lib/System. llvm-svn: 35742
* For PR789:Reid Spencer2007-03-291-14/+14
| | | | | | | | Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rather than copy it. Adjust uses of the function accordingly. Also, fix some memory issues in sys::Path. llvm-svn: 35476
* Determine absolute paths the correct way :)Jeff Cohen2007-03-291-3/+9
| | | | llvm-svn: 35464
* Add a uniqueID field to the FileStatus structure for Paths. This will mapReid Spencer2007-03-291-0/+7
| | | | | | | to the inode number on Unix and something far less unique on Windows. The windows case needs to be improved. llvm-svn: 35461
* For PR789:Reid Spencer2007-03-291-14/+27
| | | | | | | | | * Add a method: bool isAbsolute() const, which determines if the path name is absolute or not. * Implement caching of file status information in the Path object. Allow it to be updated forcefully or lazily re-fetched from the cached value. llvm-svn: 35456
* Unbreak VC++ build.Jeff Cohen2006-11-051-0/+5
| | | | llvm-svn: 31464
* - Fixed broken Win32 buildAnton Korobeynikov2006-09-011-13/+19
| | | | | | - Removed warning about clobbered parameter in Bytecode/Reader llvm-svn: 30026
* For PR797:Reid Spencer2006-08-251-11/+11
| | | | | | | Make the Win32 code exception free (untested/uncompiled) which forced some interface changes which had ripple effect. This should be the last of 797. llvm-svn: 29884
* For PR797:Reid Spencer2006-08-241-42/+37
| | | | | | | Adjust implementation to match the new interface after exception handling was removed in the Unix verison. NOTE: this hasn't been compiled yet! llvm-svn: 29858
* For PR797:Reid Spencer2006-08-231-3/+3
| | | | | | | Eliminate exception throwing from Path::renamePathOnDisk and adjust its users correspondingly. llvm-svn: 29843
* For PR797:Reid Spencer2006-08-231-6/+10
| | | | | | Remove exception throwing from Path::getDirectoryContents and its users. llvm-svn: 29841
* For PR797:Reid Spencer2006-08-221-5/+10
| | | | | | Adjust code to compensate for Path class interface change. llvm-svn: 29837
* Update for changes in Path class interface for exception removal.Reid Spencer2006-08-221-16/+6
| | | | llvm-svn: 29834
* Remove some now-dead methods. Use getFileStatus instead.Chris Lattner2006-08-011-33/+0
| | | | llvm-svn: 29447
* elimiante some syscallsChris Lattner2006-08-011-8/+8
| | | | llvm-svn: 29442
* Minor fix due to recent API changesAnton Korobeynikov2006-08-011-1/+1
| | | | llvm-svn: 29428
* Modify setStatusInfoOnDisk to not throw an exception.Chris Lattner2006-07-281-8/+8
| | | | llvm-svn: 29402
* Update win32 for Path::getStatusInfoChris Lattner2006-07-281-4/+6
| | | | llvm-svn: 29401
* Modify Path::eraseFromDisk to not throw an exception.Chris Lattner2006-07-281-11/+10
| | | | llvm-svn: 29400
* Squelch a warning about signed/unsigned.Reid Spencer2006-06-081-1/+1
| | | | llvm-svn: 28729
* For PR804:Reid Spencer2006-06-081-1/+1
| | | | | | | | Change the file size field of StatusInfo to be uint64_t instead of size_t so that we know it is always 64 bits. This prevents some overflow on systems where size_t is 32 bits when it ought to be 64. llvm-svn: 28726
* For PR798:Reid Spencer2006-06-051-7/+8
| | | | | | Add support for Graphviz. Patch contributed by Anton Korobeynikov. llvm-svn: 28684
* Unlike Unix, Windows won't let a file be implicitly replaced via renaming ↵Jeff Cohen2006-05-071-1/+1
| | | | | | without explicit permission. llvm-svn: 28157
* Mingw32 patches supplied by Anton Korobeynikov.Jeff Cohen2006-04-291-1/+1
| | | | llvm-svn: 28023
* 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