| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
* Ensure #includes are wrapped with appropriate HAVE_ guards
* Ensure variations in "dirent" structure are accounted for.
llvm-svn: 19158
|
| |
|
|
|
|
|
|
| |
Merge implementations of isValid and GetTemporaryDirectory into this file. There
is not any point having the operating system specific files for such little
variation between the Unix family of systems.
llvm-svn: 19134
|
| |
|
|
| |
llvm-svn: 19079
|
| |
|
|
|
|
|
| |
* llvm/Config/alloca.h already #includes config.h
* Minor readability/stylistic changes
llvm-svn: 19048
|
| |
|
|
|
|
| |
const because they affect the file system, not the Path object.
llvm-svn: 18973
|
| |
|
|
|
|
| |
because LLVM should be agnostic to the needs of specific front ends.
llvm-svn: 18968
|
| |
|
|
|
|
|
|
|
|
| |
createTemporaryFile semantics where it doesn't create a fully unique name
if the basename doesn't exist. This functionality is now optionally
provided by the boolean reuse_current parameter to createTemporaryFile and
makeUnique. The default values differ because of the way these functions
are used in LLVM.
llvm-svn: 18961
|
| |
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
| |
Implement three new functions to allow setting access/permission bits on
the file referenced by a path. The makeReadable and makeExecutable methods
replace the FileUtilities MakeFileReadable and MakeFileExecutable
functions. The makeWritable function is new and provided for consistency
since Path has a writable() method.
llvm-svn: 18907
|
| |
|
|
| |
llvm-svn: 18885
|
| |
|
|
|
|
| |
properly (examples: "", ".", "a").
llvm-svn: 18883
|
| |
|
|
|
|
| |
* Correct the std::string constructor to take a const reference.
llvm-svn: 18877
|
| |
|
|
|
|
|
|
| |
* Remove IsLibrary and GetLibraryPath, replaced by FindLibrary in ../Path.cpp \
* Implement GetSystemLibraryPaths and GetBytecodeLibraryPaths, instead of the \
GetSystemLibraryPath1 and GetSystemLibraryPath2 methods
llvm-svn: 18862
|
| |
|
|
| |
llvm-svn: 18785
|
| |
|
|
| |
llvm-svn: 18422
|
| |
|
|
|
|
| |
* Don't use variable length arrays (replaced with alloca)
llvm-svn: 17901
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
| |
returnn false if the file doesn't exist rather than throw ane exception.
llvm-svn: 17809
|
| |
|
|
|
|
| |
setStatusInfo * Implement renameFile
llvm-svn: 17780
|
| |
|
|
|
|
|
| |
* Implement createTemporaryFile for mkstemp(3) functionality
* Fix isBytecodeFile to accept llvc magic # (compressed) as bytecode.
llvm-svn: 17654
|
| |
|
|
| |
llvm-svn: 17498
|
| |
|
|
| |
llvm-svn: 16395
|
| |
|
|
| |
llvm-svn: 16381
|
| |
|
|
| |
llvm-svn: 16323
|
| |
|
|
|
|
| |
path and suffix to leave basename, and getting the DLL suffix.
llvm-svn: 16289
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
specific.
llvm-svn: 16119
|
| |
|
|
|
|
|
|
| |
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
|