| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
Change interface to Path class:
readable -> canRead
writable -> canWrite
executable -> canExecute
More (incremental) changes coming to close 495.
llvm-svn: 22345
|
|
|
|
| |
llvm-svn: 21704
|
|
|
|
| |
llvm-svn: 21422
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Use the LLVM_ON_UNIX and LLVM_ON_WIN32 #defines to include the implementation
instead of relying upon the "platform" link
llvm-svn: 19132
|
|
|
|
| |
llvm-svn: 18953
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
available.
llvm-svn: 18904
|
|
|
|
|
|
|
|
| |
* Move generic isArchive method here from Unix/Path.cpp \
* Implement isDynamicLibrary \
* Implement FindLibrary for Linker
llvm-svn: 18861
|
|
|
|
| |
llvm-svn: 17806
|
|
|
|
| |
llvm-svn: 17799
|
|
|
|
| |
llvm-svn: 17776
|
|
|
|
|
|
|
| |
platforms.
Implement GetLLVMSuffix function for the Path concept.
llvm-svn: 16292
|
|
|
|
| |
llvm-svn: 16087
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 16048
|
|
|
|
|
|
| |
provided.
llvm-svn: 15816
|
|
llvm-svn: 15763
|